Curl is funni
This commit is contained in:
parent
eecb2687cd
commit
36d82d9c79
3 changed files with 38 additions and 3 deletions
4
index.js
4
index.js
|
@ -9,6 +9,10 @@ const staticpath = path.join(__dirname, (process.env.STATIC_PATH || 'static/'))
|
|||
|
||||
app.use(express.static(staticpath))
|
||||
|
||||
app.get("/curl", (req, res) => {
|
||||
res.sendFile(path.join(__dirname, "resources/curl"))
|
||||
})
|
||||
|
||||
app.listen(PORT, () => {
|
||||
console.log("Violets-Purgatory is now listening on port: " + PORT)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue