diff --git a/compose.yaml b/compose.yaml index 470377a..4c476ab 100644 --- a/compose.yaml +++ b/compose.yaml @@ -10,6 +10,7 @@ services: - data:/usr/src/app/data ports: - 6547:6547 + restart: unless-stopped volumes: courses: diff --git a/routes/index.js b/routes/index.js index 128e33b..9fbea4d 100644 --- a/routes/index.js +++ b/routes/index.js @@ -62,7 +62,7 @@ router.get("/", async (req, res) => { try { codeFile = fs.readFileSync(`public/${codeData.path}`, "utf-8"); } catch (e) { - return console.log(`[WARINGN] Not found file for: ${code}`); + return console.log(`[WARNING] Not found file for: ${code}`); } const parsedCodeFile = JSON.parse(codeFile); diff --git a/views/stats.ejs b/views/stats.ejs index 699833f..46d56c0 100644 --- a/views/stats.ejs +++ b/views/stats.ejs @@ -28,7 +28,6 @@
<% include ../components/navbar.html %> - <%- console.log(course) %>