【发布时间】:2015-09-08 19:19:54
【问题描述】:
我无法在 nitrous.io 上运行的 Ember 应用程序中使用实时重新加载。我收到以下错误消息:
[Report Only] Refused to load the script
'http://ember-js-126346.nitrousapp.com:49152/livereload.js?snipver=1'
because it violates the following Content Security Policy directive:
"script-src 'self' 'unsafe-eval' localhost:49152 0.0.0.0:49152
localhost:49152 0.0.0.0:49152".
要在此设置中进行实时重新加载,我必须进行哪些更改?
【问题讨论】:
-
您的端口是否打开,您是否点击了预览>端口?