Adding initial run with mimetypes and index page

This commit is contained in:
Said Bakr 2022-02-16 02:18:51 +02:00
parent a981031e6f
commit 09f07ea259
3 changed files with 19 additions and 0 deletions

17
index.html Normal file
View File

@ -0,0 +1,17 @@
<html>
<head>
<meta charset="utf-8">
<meta content="DarkHttpd demo page">
<title>DarkHttpd Works</title>
<style>
body{background:#cfcfcf; color:#3300FF; padding: 10px;}
a{color:red;font-weight:bold}
a:hover{color:green}
</style>
</head>
<body>
<h1>DarkHttpd Server Works!</h1>
<p>When you need a web server in a hurry.</p>
<p>DarkHttpd on <a href="https://github.com/emikulic/darkhttpd">GitHub</a> | <a href="README.md">README</a></p>
</body>
</html>

1
mimetypes Normal file
View File

@ -0,0 +1 @@
text/HTML md

1
run.sh Executable file
View File

@ -0,0 +1 @@
./darkhttpd ./ --port 9090 --mimetypes mimetypes