Skip to content

application/x-javascript was obsolete, should use application/javascript #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ It enables the concatenation in a given context.

**concat_types** `MIME types`

**default:** `concat_types: text/css application/x-javascript`
**default:** `concat_types: text/css application/javascript`

**context:** `http, server, location`

Expand Down Expand Up @@ -80,7 +80,7 @@ the respective MIME type via `concat_types`,
<br/>
<br/>

**concat\_max\_files** `number`p
**concat\_max\_files** `number`

**default:** `concat_max_files 10`

Expand Down
2 changes: 1 addition & 1 deletion ngx_http_concat_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static char *ngx_http_concat_merge_loc_conf(ngx_conf_t *cf, void *parent,


static ngx_str_t ngx_http_concat_default_types[] = {
ngx_string("application/x-javascript"),
ngx_string("application/javascript"),
ngx_string("text/css"),
ngx_null_string
};
Expand Down