changed docker file nest to avoid rebuild everything each time, and small changes in chat gateway
This commit is contained in:
10
tests_hugo/pure_node/server.js
Normal file
10
tests_hugo/pure_node/server.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const myExpress = require('./myExpress')
|
||||
const server = myExpress()
|
||||
|
||||
server.get("/", (req, res) => res.sendFile(__dirname + "/index.html"))
|
||||
server.get("/index.html", (req, res) => res.sendFile(__dirname + "/index.html"))
|
||||
server.get("/index2.html", (req, res) => res.sendFile(__dirname + "/index2.html"))
|
||||
|
||||
const port = 3001;
|
||||
server.listen(port, console.log(`listening on port ${port}`));
|
||||
|
||||
Reference in New Issue
Block a user