diff --git a/Dockerfile b/Dockerfile index b3c5ecd..57ad954 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,2 @@ -FROM nginx:1.27.3-alpine +FROM nginx:1.31.8-alpine COPY ./index.html /usr/share/nginx/html/ \ No newline at end of file diff --git a/index.html b/index.html index baf9db1..007266f 100644 --- a/index.html +++ b/index.html @@ -55,20 +55,20 @@ background-color: #0000 !important; } - - + + @@ -90,9 +90,9 @@ import { GraphiQL, HISTORY_PLUGIN } from 'graphiql'; import { createGraphiQLFetcher } from '@graphiql/toolkit'; import { explorerPlugin } from '@graphiql/plugin-explorer'; - import createJSONWorker from 'https://esm.sh/monaco-editor/esm/vs/language/json/json.worker.js?worker'; - import createGraphQLWorker from 'https://esm.sh/monaco-graphql/esm/graphql.worker.js?worker'; - import createEditorWorker from 'https://esm.sh/monaco-editor/esm/vs/editor/editor.worker.js?worker'; + import createJSONWorker from 'https://esm.sh/monaco-editor@0.57.0/esm/vs/language/json/json.worker.js?worker'; + import createGraphQLWorker from 'https://esm.sh/monaco-graphql@1.9.0/esm/graphql.worker.js?worker'; + import createEditorWorker from 'https://esm.sh/monaco-editor@0.57.0/esm/vs/editor/editor.worker.js?worker'; globalThis.MonacoEnvironment = { getWorker(_workerId, label) { @@ -164,4 +164,4 @@ - + \ No newline at end of file