Skip to content

Commit

Permalink
fix: change monaco cdn path from absolute to relative (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZLY201 authored Oct 28, 2023
1 parent 12bd3d0 commit 21af47e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Editor/monaco-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import styles from './index.module.less';

loader.config({
paths: {
vs: '/assets/monaco-editor/min/vs',
vs: './assets/monaco-editor/min/vs',
},
});

Expand Down

0 comments on commit 21af47e

Please sign in to comment.