remove some comment fluff

master
Drake 2 years ago
parent 2421ea92eb
commit a6428d1b1b

@ -51,16 +51,6 @@ int srv(char* ADDR, int PORT) {
rawHeader.status = 200;
rawHeader.notice = "OK";
if (!dot || dot == tPath) { rawHeader.mime = "text/html"; } else {
/*switch (dot) {
"html":
rawHeader.mime = "text/html";
"css":
rawHeader.mime = "text/css";
"js":
rawHeader.mime = "text/javascript";
default:
rawHeader.mime = "text/plain";
}*/
if (!strcmp(dot, ".html")) {
rawHeader.mime = "text/html";
} else if (!strcmp(dot, ".css")) {

Loading…
Cancel
Save