1
0
mirror of https://api.glitch.com/git/presence-button synced 2024-12-05 02:27:28 +00:00
presence-button-web-glitch/server.js
Glitch (presence-button) b6194ba18d 🎺🌹 Checkpoint
./package.json:933874/26
./server.js:933874/14940
2020-07-19 17:47:40 +00:00

10 lines
288 B
JavaScript

const express = require("express")
const app = express()
app.all("*", (req, res) => {
res.redirect("https://presence.fuz.re" + req.originalUrl)
})
const listener = app.listen(process.env.PORT, function() {
console.log("Your app is listening on port " + listener.address().port)
})