Skip to content

Commit

Permalink
Merge pull request #5 from onecx/fix-position-of-script-tag-within-head
Browse files Browse the repository at this point in the history
fix: position of script tag within head
  • Loading branch information
HenryT-CG authored Jan 13, 2025
2 parents 78ad522 + fd2934b commit 6952035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locations/base.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

sub_filter_once off;
sub_filter 'base href="/"' 'base href="@@APP_BASE_HREF"';
sub_filter </head> '</head><script language="javascript">@@INJECTED_ENV</script>';
sub_filter </head> '<script language="javascript">@@INJECTED_ENV</script></head>';

location ~ \.html$ {
add_header X-Content-Type-Options "nosniff";
Expand Down

0 comments on commit 6952035

Please sign in to comment.