File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,17 +63,17 @@ const Builder = () => {
63
63
64
64
if (path.startsWith('/vs')) {
65
65
const newPath = \`/third-party/monaco-editor/${ monaco_version } /package/min\${path}\`;
66
-
67
66
return originalFetch(newPath, init);
68
67
}
69
68
} catch (e) {
70
69
if (url.startsWith('vs')) {
71
70
const newPath = \`/third-party/monaco-editor/${ monaco_version } /package/min/\${url}\`;
72
-
73
71
return originalFetch(newPath, init);
74
72
} else if (url.startsWith('/vs')) {
75
73
const newPath = \`/third-party/monaco-editor/${ monaco_version } /package/min\${url}\`;
76
-
74
+ return originalFetch(newPath, init);
75
+ } else if (url.startsWith('../../../vs')) {
76
+ const newPath = \`/third-party/monaco-editor/${ monaco_version } /package/min\${url.slice(8)}\`;
77
77
return originalFetch(newPath, init);
78
78
} else {
79
79
return originalFetch(input, init);
You can’t perform that action at this time.
0 commit comments