Skip to content

Commit

Permalink
Use text/javascript as per rfc9239
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Dec 22, 2023
1 parent 1dc7711 commit ca1ef7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions root/defaults/nginx/site-confs/default.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ server {
}

location ~ \.js$ {
default_type application/javascript;
default_type text/javascript;
}

location ~ \.mjs$ {
default_type application/javascript;
default_type text/javascript;
}

}
Expand Down

0 comments on commit ca1ef7f

Please sign in to comment.