修改 monaco-editor 静态资源地址

This commit is contained in:
whyour
2024-01-10 22:12:41 +08:00
parent b79d10b452
commit 4e66a3aff5
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ export function init(version: string) {
// monaco 编辑器配置cdn和locale
loader.config({
paths: {
vs: 'https://cdn.staticfile.org/monaco-editor/0.33.0/min/vs',
vs: '/monaco-editor/min/vs',
},
'vs/nls': {
availableLanguages: {