diff --git a/servers/2016/APIServer.js b/servers/2016/APIServer.js index 941a052..4310b88 100644 --- a/servers/2016/APIServer.js +++ b/servers/2016/APIServer.js @@ -22,7 +22,7 @@ function serve() { GET REQUESTS */ app.get('/', (req, res) => { - res.sendFile(path.resolve(`${__dirname}/../port-in-use.html`)) + res.redirect("https://realmcoded.github.io/Rec.js/port-in-use.html") }) app.get('/api/versioncheck/*', (req, res) => { diff --git a/servers/2017/APIServer.js b/servers/2017/APIServer.js index 7876733..fd02b93 100644 --- a/servers/2017/APIServer.js +++ b/servers/2017/APIServer.js @@ -23,7 +23,7 @@ function serve() { GET REQUESTS */ app.get('/', (req, res) => { - res.sendFile(path.resolve(`${__dirname}/../port-in-use.html`)) + res.redirect("https://realmcoded.github.io/Rec.js/port-in-use.html") }) app.get('/api/versioncheck/*', (req, res) => { diff --git a/servers/port-in-use.html b/servers/port-in-use.html deleted file mode 100644 index 0b827eb..0000000 --- a/servers/port-in-use.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - This port is in use by Rec.js! - - -
-
-

This port is in use by Rec.js!

-
- The profile picture used by this Rec.js user -
-
Rec.js: Open Source RecNet replacement for old Rec Room builds.
-
- - \ No newline at end of file