remove console.log :)
This commit is contained in:
parent
cf96b48eb9
commit
46b2c0b1bf
3 changed files with 2 additions and 2 deletions
|
@ -10,6 +10,7 @@ services:
|
|||
- data:/usr/src/app/data
|
||||
ports:
|
||||
- 6547:6547
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
courses:
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue