From a563ec0e797f7dc3aaad1eb1ba7c753bd6a5a6d1 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Fri, 19 May 2023 11:19:56 -0500 Subject: [PATCH] Changed default file path from '/index.html' to '/' --- url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/url.c b/url.c index c540d83..9686bcd 100644 --- a/url.c +++ b/url.c @@ -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;