remove console.log :)

This commit is contained in:
Jonny_Bro (Nikita) 2024-09-02 17:16:24 +05:00
parent cf96b48eb9
commit 46b2c0b1bf
No known key found for this signature in database
GPG key ID: 3F1ECC04147E9BD8
3 changed files with 2 additions and 2 deletions

View file

@ -10,6 +10,7 @@ services:
- data:/usr/src/app/data
ports:
- 6547:6547
restart: unless-stopped
volumes:
courses:

View file

@ -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);

View file

@ -28,7 +28,6 @@
<body class="w-screen font-mono">
<% include ../components/navbar.html %>
<%- console.log(course) %>
<div class="hero min-h-screen bg-base-200">
<div class="hero-content text-center">
<div class="text-center align-top w-full">