diff mrjunejune/main.c @ 80:d55157451947

[MrJuneJune] Updating my homepage.
author June Park <parkjune1995@gmail.com>
date Thu, 01 Jan 2026 08:23:46 -0800
parents 5710108c949e
children bcc76a156aea
line wrap: on
line diff
--- a/mrjunejune/main.c	Thu Jan 01 05:57:03 2026 -0800
+++ b/mrjunejune/main.c	Thu Jan 01 08:23:46 2026 -0800
@@ -41,6 +41,7 @@
 
     size_t sub_file_size = 0;
     char *sub_content = Seobeo_Web_LoadFile(include_name, &sub_file_size);
+    printf("sub_content %s", sub_content);
     if (sub_content)
     {
       memcpy(final_body + current_offset, sub_content, sub_file_size);
@@ -57,7 +58,7 @@
 Seobeo_Request_Entry* GetHomePage(Seobeo_Request_Entry *req, Dowa_Arena *arena)
 {
   Seobeo_Request_Entry *resp = NULL; 
-  char *final_body = Dowa_Arena_Allocate(arena, 50 * 1024); // 50KB buffer
+  char *final_body = Dowa_Arena_Allocate(arena, 50 * 1024);
   Seobeo_ServerSideRender(final_body, "/index.html", arena);
   Dowa_HashMap_Push_Arena(resp, "body", final_body, arena);
   return resp;