Skip to content

Commit

Permalink
fix: disable worker in AceEditor to avoid serving the worker-javascri…
Browse files Browse the repository at this point in the history
…pt file from public
  • Loading branch information
gabrielmscampos committed Aug 21, 2024
1 parent e16c57c commit 92f1644
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions frontend/src/views/machineLearning/jsonPortal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ const JsonPortal = () => {
fontSize={15}
wrapEnabled={true}
value={JSON.stringify(goldenJson.content)}
setOptions={{
useWorker: false
}}
/>
)}
</div>
Expand Down Expand Up @@ -350,6 +353,9 @@ const JsonPortal = () => {
fontSize={15}
wrapEnabled={true}
value={JSON.stringify(dcsJson.content)}
setOptions={{
useWorker: false
}}
/>
)}
</div>
Expand Down Expand Up @@ -415,6 +421,9 @@ const JsonPortal = () => {
fontSize={15}
wrapEnabled={true}
value={JSON.stringify(mlGoldenJson)}
setOptions={{
useWorker: false
}}
/>
)}
</div>
Expand Down

0 comments on commit 92f1644

Please sign in to comment.