update: removed useless dev stuff from git

This commit is contained in:
zefie
2021-07-19 06:08:47 -04:00
parent 7b9bd8fe37
commit be53b52487
4 changed files with 10 additions and 31 deletions

View File

@@ -40,10 +40,13 @@ if (request_headers.query.url) {
data += `width=250 bgcolor=#444444 text=#ffdd33 cursor=#cc9933 selected>
<input type=submit value="Access URL">
</form></li>
</ul>
</ul>`
<h4>Developer Playground</h4>
<a href="wtv-home:/zefie">zefie's stuff and things</a>
</body>
</html>`
try {
if (fs.lstatSync(service_dir + "/home.zefie.html")) {
data += fs.readFileSync(service_dir + "/home.zefie.html", { 'encoding': 'utf8' });
}
} catch (e) {
// silent
}
data += "</body>\n</html>";