diff --git a/.gitignore b/.gitignore index a3e4e798..cde69dcc 100644 --- a/.gitignore +++ b/.gitignore @@ -365,3 +365,4 @@ FodyWeavers.xsd /hacktv_updsrv/ServiceVault/wtv-music/midi /zefie_wtvp_minisrv/ServiceVault/wtv-home/6969.html /zefie_wtvp_minisrv/user_config.json +/zefie_wtvp_minisrv/ServiceVault/wtv-home/home.zefie.html diff --git a/zefie_wtvp_minisrv/ServiceVault/wtv-home/home.js b/zefie_wtvp_minisrv/ServiceVault/wtv-home/home.js index 8a07832f..024f3807 100644 --- a/zefie_wtvp_minisrv/ServiceVault/wtv-home/home.js +++ b/zefie_wtvp_minisrv/ServiceVault/wtv-home/home.js @@ -40,10 +40,13 @@ if (request_headers.query.url) { data += `width=250 bgcolor=#444444 text=#ffdd33 cursor=#cc9933 selected> - +` -

Developer Playground

-zefie's stuff and things - - -` \ No newline at end of file +try { + if (fs.lstatSync(service_dir + "/home.zefie.html")) { + data += fs.readFileSync(service_dir + "/home.zefie.html", { 'encoding': 'utf8' }); + } +} catch (e) { + // silent +} +data += "\n"; \ No newline at end of file diff --git a/zefie_wtvp_minisrv/ServiceVault/wtv-home/zefie.html b/zefie_wtvp_minisrv/ServiceVault/wtv-home/zefie.html deleted file mode 100644 index 83e1a6b5..00000000 --- a/zefie_wtvp_minisrv/ServiceVault/wtv-home/zefie.html +++ /dev/null @@ -1,24 +0,0 @@ - - -zefie's playground - - - - -

Dev playground

-Moved these off the main page to clean it up :)
-The stuff on this page is probably useless to you so why not move it off the main page.

-Content here is either not pushed to git (Not Found error), or not fully functional yet (Other errors). - -

Just for fun

- - -

Test Stuff (probably broken)

-HackTV Updater Test
-Disconnect and go to HackTV Home - - - - \ No newline at end of file diff --git a/zefie_wtvp_minisrv/zefie_wtvp_minisrv.njsproj b/zefie_wtvp_minisrv/zefie_wtvp_minisrv.njsproj index 6be887f0..176f14cf 100644 --- a/zefie_wtvp_minisrv/zefie_wtvp_minisrv.njsproj +++ b/zefie_wtvp_minisrv/zefie_wtvp_minisrv.njsproj @@ -49,7 +49,6 @@ -