Compare commits

...

2 Commits

Author SHA1 Message Date
5ee8a6cc6a Update index.html
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-03-30 15:25:54 +01:00
5e35276628 Update main.js
Signed-off-by: __JosephAbbey <me@josephabbey.dev>
2025-03-30 15:22:49 +01:00
2 changed files with 7 additions and 7 deletions

View File

@ -7,13 +7,13 @@
<link
rel="stylesheet"
data-name="vs/editor/editor.main"
href="https://unpkg.com/monaco-editor@0.45.0/min/vs/editor/editor.main.css" />
href="https://www.unpkg.com/monaco-editor@0.45.0/min/vs/editor/editor.main.css" />
<link
rel="stylesheet"
type="text/css"
href="https://unpkg.com/toastify-js@1.12.0/src/toastify.css" />
href="https://www.unpkg.com/toastify-js@1.12.0/src/toastify.css" />
<style>
@import url('https://unpkg.com/@catppuccin/palette/css/catppuccin.css');
@import url('https://www.unpkg.com/@catppuccin/palette/css/catppuccin.css');
body {
display: flex;
@ -441,9 +441,9 @@ http:
</div>
</dialog>
<script src="https://unpkg.com/monaco-editor@0.45.0/min/vs/loader.js"></script>
<script src="https://unpkg.com/json-ast-comments@1.1.1/lib/json.js"></script>
<script src="https://unpkg.com/toastify-js@1.12.0/src/toastify.js"></script>
<script src="https://www.unpkg.com/monaco-editor@0.45.0/min/vs/loader.js"></script>
<script src="https://www.unpkg.com/json-ast-comments@1.1.1/lib/json.js"></script>
<script src="https://www.unpkg.com/toastify-js@1.12.0/src/toastify.js"></script>
<script type="module" src="./main.js"></script>
</body>
</html>

View File

@ -451,7 +451,7 @@ loadSchema();
// require is provided by loader.min.js.
require.config({
paths: {
vs: 'https://unpkg.com/monaco-editor@0.45.0/min/vs',
vs: 'https://www.unpkg.com/monaco-editor@0.45.0/min/vs',
},
});
require(['vs/editor/editor.main'], async () => {