Skip to content

Commit

Permalink
Removed unnecessary static file extensions from default array.
Browse files Browse the repository at this point in the history
  • Loading branch information
allinurl committed Dec 2, 2016
1 parent 52acb4b commit 0a4a678
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,39 +156,22 @@ set_default_static_files (void)
size_t i;
const char *exts[] = {
".css",
".CSS",
".dae",
".DAE",
".eot",
".EOT",
".gif",
".GIF",
".ico",
".ICO",
".jpeg",
".JPEG",
".jpg",
".JPG",
".js",
".JS",
".map",
".MAP",
".mp3",
".MP3",
".pdf",
".PDF",
".png",
".PNG",
".svg",
".SVG",
".swf",
".SWF",
".ttf",
".TTF",
".txt",
".TXT",
".woff",
".WOFF",
};

if (conf.static_file_idx > 0)
Expand Down

0 comments on commit 0a4a678

Please sign in to comment.