aboutsummaryrefslogtreecommitdiff
path: root/res/www
diff options
context:
space:
mode:
authorMarvin Borner2020-11-22 19:22:31 +0100
committerMarvin Borner2020-11-22 19:22:31 +0100
commitd82b18c90710baf16239257272a740488fddf11c (patch)
tree9a59f9c4eb16a5d5050d430f1946d9997ae5e6db /res/www
parent608fcc4075c1f28207aa177ec2d9408cc3e5e0da (diff)
Added file-based HTTP server
And fixed/added some other things
Diffstat (limited to 'res/www')
-rw-r--r--res/www/404.html14
-rw-r--r--res/www/index.html12
2 files changed, 26 insertions, 0 deletions
diff --git a/res/www/404.html b/res/www/404.html
new file mode 100644
index 0000000..fc9e927
--- /dev/null
+++ b/res/www/404.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<!-- MIT License, Copyright (c) 2020 Marvin Borner -->
+<html>
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width" />
+ <title>Melvix Server</title>
+ </head>
+ <body>
+ <center><h1>404 Not Found</h2></center>
+ <hr>
+ <center>Melvix Server</center>
+ </body>
+</html>
diff --git a/res/www/index.html b/res/www/index.html
new file mode 100644
index 0000000..49e1b07
--- /dev/null
+++ b/res/www/index.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<!-- MIT License, Copyright (c) 2020 Marvin Borner -->
+<html>
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width" />
+ <title>Melvix Server</title>
+ </head>
+ <body>
+ <h1>This is a test page.</h1>
+ </body>
+</html>