diff --git a/Dockerfile b/Dockerfile index d95c1ac..cc56a20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN npm run generate FROM denoland/deno:latest AS s-build WORKDIR / COPY server server -RUN deno bundle server/app.ts /app.js +RUN deno bundle --unstable server/app.ts /app.js FROM denoland/deno:latest WORKDIR / diff --git a/server/data_web.ts b/server/data_web.ts index 458e5d0..85dab53 100644 --- a/server/data_web.ts +++ b/server/data_web.ts @@ -255,7 +255,7 @@ export const router = new oak.Router() /* Create live class if doesn't exist - no concept of starting a class */ if (!live_class && class_id) { - const rooms = { + const rooms: Record = { Lobby: { studentPublicState: '', teacherPublicState: '',