fix linking to stylesheet for iframe

This commit is contained in:
catarak 2016-06-20 13:30:59 -04:00
parent 719042e41b
commit 44b41072c1

View file

@ -46,7 +46,7 @@ class IDEView extends React.Component {
<PreviewFrame
content={this.props.file.content}
head={
<link type='text/css' rel='stylesheet' href='preview-styles.css' />
<link type='text/css' rel='stylesheet' href='/preview-styles.css' />
}
isPlaying={this.props.ide.isPlaying}/>
</div>