Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit ceae8602 authored by 65160024's avatar 65160024
Browse files

update

parent ef70fedc
Branches main
No related tags found
No related merge requests found
node_modules
node_modules
...@@ -37,8 +37,8 @@ readdirSync(routesPath).map((file) => { ...@@ -37,8 +37,8 @@ readdirSync(routesPath).map((file) => {
app.use("/api", require(routePath)); app.use("/api", require(routePath));
}); });
// app.get('/', (req, res) => { // Route หลัก
// res.send('Hello World!')
// })
// เริ่มเซิร์ฟเวอร์
const PORT = process.env.PORT || 3000;
app.listen(3000, () => console.log("Server is running on port 3000")); app.listen(3000, () => console.log("Server is running on port 3000"));
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment