diff --git a/.dockerignore b/.dockerignore index 9292f67..fb56d69 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,4 @@ -# .env - Should not be added because it contains private keys used for encryption +# .env - Should not be added because it contains private keys used for encryption. Instead, provide env variables to the docker container. .env # Logs @@ -10,11 +10,6 @@ yarn-error.log* pnpm-debug.log* lerna-debug.log* -node_modules -dist -dist-ssr -*.local - # Editor directories and files .vscode/* !.vscode/extensions.json @@ -24,13 +19,4 @@ dist-ssr *.ntvs* *.njsproj *.sln -*.sw? - -# Yarn -.pnp.* -.yarn/* -!.yarn/patches -!.yarn/plugins -!.yarn/releases -!.yarn/sdks -!.yarn/versions \ No newline at end of file +*.sw? \ No newline at end of file diff --git a/.yarnrc b/.yarnrc deleted file mode 100644 index 85b738b..0000000 --- a/.yarnrc +++ /dev/null @@ -1,5 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -yarn-path ".yarn/releases/yarn-1.22.22.cjs" diff --git a/src/backend/index.ts b/src/backend/index.ts index 090e6b7..835a5d0 100644 --- a/src/backend/index.ts +++ b/src/backend/index.ts @@ -4,6 +4,7 @@ import path from "node:path"; import * as t from "io-ts"; import * as jwt from "jsonwebtoken"; +// Requires Node.js 20.11 or higher const __dirname = import.meta.dirname; const ltijsKey = process.env.LTIJS_KEY;