mirror of
https://api.glitch.com/git/presence-button
synced 2024-12-05 02:27:28 +00:00
b6194ba18d
./package.json:933874/26 ./server.js:933874/14940
10 lines
288 B
JavaScript
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)
|
|
}) |