我的index.html
文檔已部署到www.lorem.io
存儲桶,其餘資源部署到cdn.lorem.io
存儲桶。這兩個存儲桶都有自己的Cloudfront分配。當來訪https://www.lorem.io/我收到以下錯誤:Ember應用程序部署到多個桶時的安全性錯誤
Uncaught SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL ' https://cdn.lorem.io/ ' cannot be created in a document with origin ' https://www.lorem.io ' and URL ' https://www.lorem.io/ '.
我真的想使用'history'保持爲我的'locationType' –