diff --git a/index.js b/index.js index c4e2d69..82db828 100644 --- a/index.js +++ b/index.js @@ -176,13 +176,13 @@ function format(seconds){ return pad(hours) + ':' + pad(minutes) + ':' + pad(seconds); } app.use(cookieCheck); -app.use(express.static(dir + "styles")); -app.use(express.static(dir + "audio")); -app.use(express.static(dir + "videos")); -app.use(express.static(dir + "scripts")); -app.use(express.static(dir + "fonts")); -app.use(express.static(dir + "icons")); -app.use(express.static(dir + "images")); +app.use("/styles", express.static(dir + "styles")); +app.use("/audio", express.static(dir + "audio")); +app.use("/video", express.static(dir + "videos")); +app.use("/scripts", express.static(dir + "scripts")); +app.use("/fonts", express.static(dir + "fonts")); +app.use("/icons", express.static(dir + "icons")); +app.use("/images", express.static(dir + "images")); /* app.get("/images/:filename", function(req, res, next) { let path = '/' + req.params.filename; diff --git a/public/dynamic/about-you.ejs b/public/dynamic/about-you.ejs index 6ed8135..8e59e4c 100644 --- a/public/dynamic/about-you.ejs +++ b/public/dynamic/about-you.ejs @@ -4,7 +4,7 @@ FP650 - About You - + @@ -23,6 +23,6 @@

Device Vendor: <%= deviceVendor %>

Cookies Enabled: <%= cookiesEnabled %>

- + diff --git a/public/dynamic/raw.ejs b/public/dynamic/raw.ejs index c56ad17..0f8488b 100644 --- a/public/dynamic/raw.ejs +++ b/public/dynamic/raw.ejs @@ -4,7 +4,7 @@ FP650 - Raw - <%= fileName %> - + @@ -13,7 +13,7 @@ <% if (!raw) { %>

<%- fileData %>

- + <% } else { %>

<%- fileData %>

<% } %> diff --git a/public/dynamic/server-info.ejs b/public/dynamic/server-info.ejs index 1883e69..662e90c 100644 --- a/public/dynamic/server-info.ejs +++ b/public/dynamic/server-info.ejs @@ -2,7 +2,7 @@ FP650 - Server Info - + @@ -17,6 +17,6 @@

Node Uptime: <%= uptime %>

Total Pages: <%= images %>

- + diff --git a/public/dynamic/spotify-history.ejs b/public/dynamic/spotify-history.ejs index a182b87..b499f73 100644 --- a/public/dynamic/spotify-history.ejs +++ b/public/dynamic/spotify-history.ejs @@ -2,7 +2,7 @@ FP650 - YCS - History - + @@ -23,6 +23,6 @@ <% } %>

Raw data: <%= raw %>

- + diff --git a/public/dynamic/spotify-queue.ejs b/public/dynamic/spotify-queue.ejs index a585ef9..5db42d4 100644 --- a/public/dynamic/spotify-queue.ejs +++ b/public/dynamic/spotify-queue.ejs @@ -2,7 +2,7 @@ FP650 - YCS - Queue - + @@ -23,6 +23,6 @@ <% } %>

Raw data: <%= raw %>

- + diff --git a/public/dynamic/spotify.ejs b/public/dynamic/spotify.ejs index c79642d..e50a3fd 100644 --- a/public/dynamic/spotify.ejs +++ b/public/dynamic/spotify.ejs @@ -2,7 +2,7 @@ FP650 - Youngchief's Spotify - + @@ -28,6 +28,6 @@

Cover Art:

- + diff --git a/public/pages/calculator.html b/public/pages/calculator.html index a1944e7..32448cc 100644 --- a/public/pages/calculator.html +++ b/public/pages/calculator.html @@ -4,7 +4,7 @@ FP650 - Calculator - + @@ -16,7 +16,7 @@
Bookmarklet: javascript:x=prompt('Equation?');x=eval(x);alert(`The solution is: ${x}`)
- + - + diff --git a/public/pages/code-of-hexics.html b/public/pages/code-of-hexics.html index 249d966..7674824 100644 --- a/public/pages/code-of-hexics.html +++ b/public/pages/code-of-hexics.html @@ -4,7 +4,7 @@ FP650 - Code of Hexics - + @@ -29,6 +29,6 @@

E. All hail jinn6

F. All hail jinn6

- + diff --git a/public/pages/construction.html b/public/pages/construction.html index 12c98b7..2ebac5e 100644 --- a/public/pages/construction.html +++ b/public/pages/construction.html @@ -4,7 +4,7 @@ FP650 - Unfinished page - + @@ -14,6 +14,6 @@

Page under construction.

- + diff --git a/public/pages/countapi-spec-clone.html b/public/pages/countapi-spec-clone.html index 01ddb71..553befb 100644 --- a/public/pages/countapi-spec-clone.html +++ b/public/pages/countapi-spec-clone.html @@ -4,8 +4,8 @@ FP650 - CountAPI spec clone - - + + diff --git a/public/pages/dvd-screensaver.html b/public/pages/dvd-screensaver.html index 2abfcbb..c62f913 100644 --- a/public/pages/dvd-screensaver.html +++ b/public/pages/dvd-screensaver.html @@ -4,7 +4,7 @@ FP650 - DVD Screensaver - + @@ -87,6 +87,6 @@ } move(); - + diff --git a/public/pages/error-debug.html b/public/pages/error-debug.html index b578e4b..bbccb85 100644 --- a/public/pages/error-debug.html +++ b/public/pages/error-debug.html @@ -4,7 +4,7 @@ FP650 - Error Debugging - + @@ -19,6 +19,6 @@
Error 403 - + diff --git a/public/pages/forbidden.html b/public/pages/forbidden.html index 8150221..f2826fd 100644 --- a/public/pages/forbidden.html +++ b/public/pages/forbidden.html @@ -4,7 +4,7 @@ FP650 - You shouldn't be here. - + @@ -12,6 +12,6 @@

You shouldn't be here.

- + diff --git a/public/pages/hidden.html b/public/pages/hidden.html index c7a7869..55dd465 100644 --- a/public/pages/hidden.html +++ b/public/pages/hidden.html @@ -4,7 +4,7 @@ FP650 - Hidden :O - + @@ -50,7 +50,7 @@ - + There should be stuff here in a second. If there's not, then reload. (Or, you know, you have javascript turned off.) Note: if you can't see anything after the page loads, it might be that you have some "auto-dark" extension on, or you're using some builtin browser feature that darkens webpages, and decided to invert the images. If that is the case, sorry! Can't fix that and have the page not be blinding. ¯\_(ツ)_/¯ diff --git a/public/pages/hunt.html b/public/pages/hunt.html index 224af98..7f9d3fc 100644 --- a/public/pages/hunt.html +++ b/public/pages/hunt.html @@ -4,7 +4,7 @@ H U N T - + @@ -14,6 +14,6 @@

TIMES UP.

- + diff --git a/public/pages/index.html b/public/pages/index.html index ec27d55..e620d08 100644 --- a/public/pages/index.html +++ b/public/pages/index.html @@ -4,7 +4,7 @@ Firepup650 - + @@ -43,6 +43,6 @@
Go to the Calculator page - + diff --git a/public/pages/maintenance.html b/public/pages/maintenance.html index 8364176..09d45b3 100644 --- a/public/pages/maintenance.html +++ b/public/pages/maintenance.html @@ -4,7 +4,7 @@ FP650 - Maintenance - + @@ -12,6 +12,6 @@

Website under maintenance.

- + diff --git a/public/pages/modpack.html b/public/pages/modpack.html index 0291a89..09e7135 100644 --- a/public/pages/modpack.html +++ b/public/pages/modpack.html @@ -4,7 +4,7 @@ FP650 - Modpack - + @@ -19,6 +19,6 @@ V1.0.3
V1.0.4 - + diff --git a/public/pages/password-generator.html b/public/pages/password-generator.html index 0b52f38..606bb1b 100644 --- a/public/pages/password-generator.html +++ b/public/pages/password-generator.html @@ -4,7 +4,7 @@ FP650 - Password Generator - + @@ -19,6 +19,6 @@
- + diff --git a/public/pages/pfps.html b/public/pages/pfps.html index dd4f897..b2060a8 100644 --- a/public/pages/pfps.html +++ b/public/pages/pfps.html @@ -4,7 +4,7 @@ FP650 - PFPs - + @@ -32,6 +32,6 @@
"Chat" PFP - + diff --git a/public/pages/quotes.html b/public/pages/quotes.html index f3dcf1f..44a4224 100644 --- a/public/pages/quotes.html +++ b/public/pages/quotes.html @@ -4,7 +4,7 @@ FP650 - Quotes - + @@ -17,7 +17,7 @@ I'll basically never say no to more access to more things... or more access to the same things
vvcccblhvgjdikttkluehddnjbdhrrkvjhkfeiigbrct
- + + diff --git a/public/pages/ratings/9pfs.html b/public/pages/ratings/9pfs.html index b98db72..37cd2cd 100644 --- a/public/pages/ratings/9pfs.html +++ b/public/pages/ratings/9pfs.html @@ -4,7 +4,7 @@ FP650 - Ratings - 9pfs - + @@ -13,6 +13,6 @@
If you see this page, then the route is setup and working properly, but
@9pfs
has not yet been rated.
- + diff --git a/public/pages/ratings/bigminiboss.html b/public/pages/ratings/bigminiboss.html index 0d35a81..96af3c5 100644 --- a/public/pages/ratings/bigminiboss.html +++ b/public/pages/ratings/bigminiboss.html @@ -4,7 +4,7 @@ FP650 - Ratings - BMB - + @@ -13,6 +13,6 @@
If you see this page, then the route is setup and working properly, but
@bigminiboss
has not yet been rated.
- + diff --git a/public/pages/ratings/coderelijah.html b/public/pages/ratings/coderelijah.html index 37c940c..9618560 100644 --- a/public/pages/ratings/coderelijah.html +++ b/public/pages/ratings/coderelijah.html @@ -4,7 +4,7 @@ FP650 - Ratings - CE - + @@ -13,6 +13,6 @@
If you see this page, then the route is setup and working properly, but
@CoderElijah
has not yet been rated.
- + diff --git a/public/pages/ratings/jayayseaohbee14.html b/public/pages/ratings/jayayseaohbee14.html index d486fed..90c484b 100644 --- a/public/pages/ratings/jayayseaohbee14.html +++ b/public/pages/ratings/jayayseaohbee14.html @@ -4,7 +4,7 @@ FP650 - Ratngs - JASOB14 - + @@ -13,6 +13,6 @@
If you see this page, then the route is setup and working properly, but
@JayAySeaOhBee14
has not yet been rated.
- + diff --git a/public/pages/ratings/pikachub2005.html b/public/pages/ratings/pikachub2005.html index f192993..a5b00bd 100644 --- a/public/pages/ratings/pikachub2005.html +++ b/public/pages/ratings/pikachub2005.html @@ -4,7 +4,7 @@ FP650 - Ratings - PB2005 - + @@ -13,6 +13,6 @@
If you see this page, then the route is setup and working properly, but
@PikachuB2005
has not yet been rated.
- + diff --git a/public/pages/ratings/youngchief.html b/public/pages/ratings/youngchief.html index c45f7d7..9a65d79 100644 --- a/public/pages/ratings/youngchief.html +++ b/public/pages/ratings/youngchief.html @@ -4,7 +4,7 @@ FP650 - Ratings - YC - + @@ -13,6 +13,6 @@
If you see this page, then the route is setup and working properly, but
@Youngchief
has not yet been rated.
- + diff --git a/public/pages/services.html b/public/pages/services.html index 3cf5911..f42074f 100644 --- a/public/pages/services.html +++ b/public/pages/services.html @@ -4,7 +4,7 @@ FP650 - Services - + @@ -21,6 +21,6 @@
Radio
- + diff --git a/public/pages/test-loader.html b/public/pages/test-loader.html index a656706..b734f44 100644 --- a/public/pages/test-loader.html +++ b/public/pages/test-loader.html @@ -4,7 +4,7 @@ FP650 - Unfinished page - + @@ -265,6 +265,6 @@ - + diff --git a/public/pages/usage.html b/public/pages/usage.html index cba242d..1181701 100644 --- a/public/pages/usage.html +++ b/public/pages/usage.html @@ -4,7 +4,7 @@ FP650 - Usage - + @@ -19,6 +19,6 @@

4. The DVD logo is used on the "dvd-sceensaver" page

5. The countapi.xyz API is used for tracking total page views.

- + diff --git a/public/pages/users.html b/public/pages/users.html index 60301a0..428ad89 100644 --- a/public/pages/users.html +++ b/public/pages/users.html @@ -4,7 +4,7 @@ FP650 - Users - + @@ -29,6 +29,6 @@

Talk to @Firepup650 about getting a page!

- + diff --git a/public/pages/users/9pfs.html b/public/pages/users/9pfs.html index 69e6c78..4dbdabe 100644 --- a/public/pages/users/9pfs.html +++ b/public/pages/users/9pfs.html @@ -4,7 +4,7 @@ FP650 - 9pfs - + @@ -13,6 +13,6 @@
If you see this page, then the route is setup and working properly, but
@9pfs
has not yet provided content to put on this page.
- + diff --git a/public/pages/users/bigminiboss.html b/public/pages/users/bigminiboss.html index 623e63b..7a6479f 100644 --- a/public/pages/users/bigminiboss.html +++ b/public/pages/users/bigminiboss.html @@ -4,7 +4,7 @@ FP650 - bigminiboss - + @@ -13,6 +13,6 @@
If you see this page, then the route is setup and working properly, but
@bigminiboss
has not yet provided content to put on this page.
- + diff --git a/public/pages/users/coderelijah.html b/public/pages/users/coderelijah.html index 4df6d1b..27b27b7 100644 --- a/public/pages/users/coderelijah.html +++ b/public/pages/users/coderelijah.html @@ -4,7 +4,7 @@ FP650 - CoderElijah - + @@ -13,6 +13,6 @@
If you see this page, then the route is setup and working properly, but
@CoderElijah
has not yet provided content to put on this page.
- + diff --git a/public/pages/users/jayayseaohbee14.html b/public/pages/users/jayayseaohbee14.html index 62694ae..a616183 100644 --- a/public/pages/users/jayayseaohbee14.html +++ b/public/pages/users/jayayseaohbee14.html @@ -4,7 +4,7 @@ FP650 - JASOB14 - + @@ -13,6 +13,6 @@
If you see this page, then the route is setup and working properly, but
@JayAySeaOhBee14
has not yet provided content to put on this page.
- + diff --git a/public/pages/users/pikachub2005.html b/public/pages/users/pikachub2005.html index 19e122d..d979927 100644 --- a/public/pages/users/pikachub2005.html +++ b/public/pages/users/pikachub2005.html @@ -4,7 +4,7 @@ FP650 - PikachuB2005 - + @@ -13,6 +13,6 @@
If you see this page, then the route is setup and working properly, but
@PikachuB2005
has not yet provided content to put on this page.
- + diff --git a/public/pages/users/snakebyte.html b/public/pages/users/snakebyte.html index 3e2962c..1e84c64 100644 --- a/public/pages/users/snakebyte.html +++ b/public/pages/users/snakebyte.html @@ -4,7 +4,7 @@ FP650 - SnakeByte - + @@ -13,6 +13,6 @@
If you see this page, then the route is setup and working properly, but
@SnakeByte
has not yet provided content to put on this page.
- + diff --git a/public/pages/users/youngchief.html b/public/pages/users/youngchief.html index e101ce2..a297b47 100644 --- a/public/pages/users/youngchief.html +++ b/public/pages/users/youngchief.html @@ -4,7 +4,7 @@ FP650 - Youngchief - + @@ -14,6 +14,6 @@
If you see this page, then the route is setup and working properly, but
@Youngchief
has not yet provided content to put on this page.

Youngchief's Spotify Status

- + diff --git a/public/pages/visits.html b/public/pages/visits.html index 6486939..f108b30 100644 --- a/public/pages/visits.html +++ b/public/pages/visits.html @@ -4,7 +4,7 @@ FP650 - Website Visits - + + diff --git a/public/scripts/eruda_loader.js b/public/scripts/eruda_loader.js index 3a09b21..fc70dab 100644 --- a/public/scripts/eruda_loader.js +++ b/public/scripts/eruda_loader.js @@ -13,7 +13,7 @@ function keydownListener(event) { } else { dPressed = false; ePressed = false; - vPressed = false; + vPressed = false; } } document.addEventListener('keydown', keydownListener); @@ -27,7 +27,7 @@ function keyupListener(e) { eruda.init(); document.removeEventListener('keyup', keyupListener); document.removeEventListener('keydown', keydownListener); - } + } } document.addEventListener('keyup', keyupListener); -console.debug("Listener Script ready.") \ No newline at end of file +console.debug("Listener Script ready.") diff --git a/public/scripts/hidden2.js b/public/scripts/hidden2.js index 4062afd..b3e7f99 100644 --- a/public/scripts/hidden2.js +++ b/public/scripts/hidden2.js @@ -3,7 +3,7 @@ function dLS(url) { script.src = url; document.head.appendChild(script); } -dLS("hidden.js") -dLS("footer.js") -dLS("poof.js") -console.log("Hidden scripts loaded") \ No newline at end of file +dLS("/scripts/hidden.js") +dLS("/scripts/footer.js") +dLS("/scripts/poof.js") +console.log("Hidden scripts loaded") diff --git a/public/scripts/pgen2.js b/public/scripts/pgen2.js index b535d1e..e2b6255 100644 --- a/public/scripts/pgen2.js +++ b/public/scripts/pgen2.js @@ -3,6 +3,6 @@ function dLS(url) { script.src = url; document.head.appendChild(script); } -dLS("pgen.js") -dLS("footer.js") -console.log("PwdGen scripts loaded") \ No newline at end of file +dLS("/scripts/pgen.js") +dLS("/scripts/footer.js") +console.log("PwdGen scripts loaded") diff --git a/public/scripts/script.js b/public/scripts/script.js index 517797b..e0b1933 100644 --- a/public/scripts/script.js +++ b/public/scripts/script.js @@ -4,7 +4,7 @@ function dLS(url) { document.head.appendChild(script); } dLS("https://cdn.jsdelivr.net/npm/eruda@2.11.3/eruda.min.js") -dLS("/footer.js") -dLS("/maintenance.js") -dLS("/eruda_loader.js") -console.info("Main Script done.") \ No newline at end of file +dLS("/scripts/footer.js") +dLS("/scripts/maintenance.js") +dLS("/scripts/eruda_loader.js") +console.info("Main Script done.")