Changed default file path from '/index.html' to '/'

master
Aadhavan Srinivasan 2 years ago
parent 49030166f3
commit a563ec0e79

@ -47,7 +47,7 @@ URL* new_url(char* url_str) {
url->filepath = strtok(NULL,"/");
if (url->filepath == NULL) {
url->filepath = "/index.html";
url->filepath = "/";
}
return url;

Loading…
Cancel
Save