mirror of
https://github.com/discourse/discourse.git
synced 2026-07-29 23:58:12 -05:00
Revert "DEV: Disable ACE editor worker blobs"
This reverts commit d5463d2a4d.
With S3 assets, CORS prevents loading worker assets directly.
This commit is contained in:
@@ -74,8 +74,6 @@ export default Component.extend({
|
||||
|
||||
loadScript("/javascripts/ace/ace.js").then(() => {
|
||||
window.ace.require(["ace/ace"], loadedAce => {
|
||||
loadedAce.config.set("loadWorkerFromBlob", false);
|
||||
|
||||
if (!this.element || this.isDestroying || this.isDestroyed) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user