comparison mrjunejune/main.c @ 88:a3962e681490

Fixed routing issues.
author June Park <parkjune1995@gmail.com>
date Thu, 01 Jan 2026 14:29:36 -0800
parents bcc76a156aea
children b5e65b01f0a3
comparison
equal deleted inserted replaced
87:d39e8860a361 88:a3962e681490
103 103
104 Dowa_HashMap_Push_Arena(resp, "body", body, arena); 104 Dowa_HashMap_Push_Arena(resp, "body", body, arena);
105 return resp; 105 return resp;
106 } 106 }
107 107
108 CREATE_REDIRECT_HANDLER(HomePage, "http://localhost:6969/") 108 CREATE_REDIRECT_HANDLER(HomePage, "/")
109 CREATE_REDIRECT_HANDLER(Resume, "http://localhost:6969/resume") 109 CREATE_REDIRECT_HANDLER(Resume, "/resume")
110 CREATE_REDIRECT_HANDLER(Tools, "http://localhost:6969/tools") 110 CREATE_REDIRECT_HANDLER(Tools, "/tools")
111 CREATE_REDIRECT_HANDLER(MarkDownToHtml, "http://localhost:6969/tools/markdown_to_html") 111 CREATE_REDIRECT_HANDLER(MarkDownToHtml, "/tools/markdown_to_html")
112 112
113 int main(void) 113 int main(void)
114 { 114 {
115 Seobeo_Router_Init(); 115 Seobeo_Router_Init();
116 Seobeo_Router_Register("GET", "/", GetHomePage); 116 Seobeo_Router_Register("GET", "/", GetHomePage);