comparison seobeo/s_web.c @ 77:c348ac875294

[Seobeo] Server side rendering.
author June Park <parkjune1995@gmail.com>
date Wed, 31 Dec 2025 14:17:40 -0800
parents 35b1abc37969
children e7bf9e002850
comparison
equal deleted inserted replaced
76:35b1abc37969 77:c348ac875294
27 "\r\n", 27 "\r\n",
28 path, host 28 path, host
29 ); 29 );
30 } 30 }
31 31
32 static char* Seobeo_Web_LoadFile(const char *file_path, size_t *p_file_size) 32 char* Seobeo_Web_LoadFile(const char *file_path, size_t *p_file_size)
33 { 33 {
34 printf("file_path: %s\n", file_path); 34 printf("file_path: %s\n", file_path);
35 char full_path[1024]; 35 char full_path[1024];
36 snprintf(full_path, sizeof(full_path), "%s/%s", g_folder_path, file_path); 36 snprintf(full_path, sizeof(full_path), "%s/%s", g_folder_path, file_path);
37 37