Skip to content

Commit 3a2e19d

Browse files
authored
fix(project): change cdn for monaco-editor (#1534)
* fix(project): change cdn for monaco-editor * remove comment
1 parent 8a0efa6 commit 3a2e19d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

web/flat-web/src/tasks/init-register-apps.ts

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ import { register } from "@netless/fastboard-react";
44
const registerApps = (): void => {
55
void register({
66
kind: "Monaco",
7+
appOptions: {
8+
loader: {
9+
paths: {
10+
vs: "https://flat-storage.oss-cn-hangzhou.aliyuncs.com/flat-resources/library/monaco-editor@0.27.0/min/vs",
11+
},
12+
},
13+
},
714
src: async () => {
815
const app = await import("@netless/app-monaco");
916
return app.default ?? app;

0 commit comments

Comments
 (0)