diff --git a/GNUmakefile b/GNUmakefile index 44cc141d..b6aa28c7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -714,6 +714,7 @@ PACKAGE_DIRS := \ apps/ \ core/ \ deps/codemirror/ \ + deps/prettier/ \ deps/lit/ RAW_FILES := $(filter-out apps/blog% apps/gg% apps/issues% apps/welcome% apps/journal% %.map, $(shell find $(PACKAGE_DIRS) -type f)) diff --git a/src/httpd.js.c b/src/httpd.js.c index f3f4102e..84994e00 100644 --- a/src/httpd.js.c +++ b/src/httpd.js.c @@ -533,8 +533,7 @@ static const char* _ext_to_content_type(const char* ext) { if (ext) { - if (strcmp(ext, ".js") == 0 || - strcmp(ext, ".mjs") == 0) + if (strcmp(ext, ".js") == 0 || strcmp(ext, ".mjs") == 0) { return "text/javascript; charset=UTF-8"; }