Curl is funni

This commit is contained in:
Violet 2023-11-03 18:01:13 +00:00 committed by GitHub
parent eecb2687cd
commit 36d82d9c79
3 changed files with 38 additions and 3 deletions

View file

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