[Fix] General
This commit is contained in:
parent
d6293908c6
commit
4bb370bca2
6 changed files with 521 additions and 485 deletions
|
|
@ -8,7 +8,7 @@ use json::JsonValue;
|
|||
|
||||
use crate::util::file_util::load_file_vec;
|
||||
|
||||
fn codec_for_ext(ext: &str) -> &'static str {
|
||||
pub fn codec_for_ext(ext: &str) -> &'static str {
|
||||
match ext {
|
||||
"html" => "text/html; charset=utf-8",
|
||||
"css" => "text/css",
|
||||
|
|
|
|||
Loading…
Reference in a new issue