Mercurial
comparison mrjunejune/main.c @ 128:7eb79fd91c7e
[Misc] Fixed all bazel targets. I should creat a separate scripts for these lol.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Thu, 08 Jan 2026 19:20:56 -0800 |
| parents | f236c895604e |
| children | 7a63e41a21fb |
comparison
equal
deleted
inserted
replaced
| 127:9af248484ba2 | 128:7eb79fd91c7e |
|---|---|
| 532 Seobeo_Router_Register("GET", "/blog", RenderBlogList); | 532 Seobeo_Router_Register("GET", "/blog", RenderBlogList); |
| 533 Seobeo_Router_Register("GET", "/blog/:blog_id", RenderBlog); | 533 Seobeo_Router_Register("GET", "/blog/:blog_id", RenderBlog); |
| 534 | 534 |
| 535 // -- Talk --/ | 535 // -- Talk --/ |
| 536 Seobeo_Router_Register("GET", "/talk", GetTalk); | 536 Seobeo_Router_Register("GET", "/talk", GetTalk); |
| 537 // Seobeo_Router_Register("GET", "/talk/index.html", GetRedirectTalk); | 537 // TODO: Bug where I can't est redriect huh... |
| 538 Seobeo_Router_Register("GET", "/talk/index.html", GetRedirectTalk); | |
| 538 | 539 |
| 539 printf("Registered Websockets\n"); | 540 printf("Registered Websockets\n"); |
| 540 | 541 |
| 541 Seobeo_WebSocket_Server_Init(); | 542 Seobeo_WebSocket_Server_Init(); |
| 542 Seobeo_WebSocket_Server_Register("/chat", Chat_Handler, NULL); | 543 Seobeo_WebSocket_Server_Register("/chat", Chat_Handler, NULL); |