]> Joshua Wise's Git repositories - netwatch.git/blobdiff - net/http/fsdata.c
Add httpd.
[netwatch.git] / net / http / fsdata.c
diff --git a/net/http/fsdata.c b/net/http/fsdata.c
new file mode 100644 (file)
index 0000000..7195a70
--- /dev/null
@@ -0,0 +1,14 @@
+static const unsigned char data_404_html[] =
+  "<html><head><title>404 Not Found</title></head>"
+  "<body><h1>404 Not Found</h1><p>This is probably not the machine you're looking for...</p></body>"
+  "</html>";
+
+static const unsigned char data_index_html[] =
+  "<html><head><title>NetWatch!</title></head>"
+  "<body><h1>NetWatch!</h1><iframe src=\"registers.html\" height=300></body>"
+  "</html>";
+
+const struct fsdata_file file_404_html[] = {{NULL, "/404.html", data_404_html, sizeof(data_404_html)}};
+const struct fsdata_file file_index_html[] = {{file_404_html, "/index.html", data_index_html, sizeof(data_index_html)}};
+
+#define FS_ROOT file_index_html
This page took 0.006921 seconds and 4 git commands to generate.