WIP: check proxy

This commit is contained in:
lyc8503 committed 2025-04-11 01:24:39 +08:00
1 parent 9bc5deb99d
commit f974ad4428
5 files changed
+1290

No files matched your search

+1
View File
@@ -0,0 +1 @@
node_modules
+15
View File
@@ -0,0 +1,15 @@
// This is a Node.js implementation of status monitoring
const express = require('express')
const app = express()
const port = 3000
app.get('/', (req, res) => {
res.send('Hello World!')
})
app.listen(port, () => {
console.log(`App listening on port ${port}`)
})
module.exports = app;
+1261
View File
File diff suppressed because it is too large. Load diff
+12
View File
@@ -0,0 +1,12 @@
{
"name": "uptimeflare_proxy",
"version": "0.0.0",
"description": "",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"express": "^5.1.0"
}
}
+1
View File
@@ -0,0 +1 @@
{ "version": 2, "rewrites": [{ "source": "/(.*)", "destination": "/api" }] }