comparison seobeo/s_web.c @ 154:bdcc610eeed8

[Markdown Converter][GuiZe] Added markdown coverter in C and wasm rule sets. Needs further view on this as I haven't taken a look. Written by Claude.
author June Park <parkjune1995@gmail.com>
date Mon, 12 Jan 2026 09:11:58 -0800
parents 1c4d8873e846
children 827c6ac504cd a8976a008a9d
comparison
equal deleted inserted replaced
153:790930d9bb90 154:bdcc610eeed8
217 (uint32)strlen(p_response_header)); 217 (uint32)strlen(p_response_header));
218 Seobeo_Handle_Flush(p_cli_handle); 218 Seobeo_Handle_Flush(p_cli_handle);
219 goto clean_up; 219 goto clean_up;
220 } 220 }
221 221
222 Seobeo_Log(SEOBEO_DEBUG, "Serving Static Files\n");
222 // Serve static file 223 // Serve static file
223 const char *mime = "application/octet-stream"; 224 const char *mime = "application/octet-stream";
224 if (strstr(file_path, ".html")) mime = "text/html; charset=utf-8"; 225 if (strstr(file_path, ".html")) mime = "text/html; charset=utf-8";
225 else if (strstr(file_path, ".css")) mime = "text/css"; 226 else if (strstr(file_path, ".css")) mime = "text/css";
226 else if (strstr(file_path, ".js")) mime = "application/javascript"; 227 else if (strstr(file_path, ".js")) mime = "application/javascript";