Skip to content

Commit

Permalink
Fix to explicitly specify the MIME type
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Jul 16, 2024
1 parent 5d3aa79 commit 1d8022d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authentic-init.pl
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ sub embed_favicon
if (-w $theme_config_dir);
};

print ' <script src="' . $theme_webprefix . '/service-worker.js" defer></script>' . "\n";
print ' <script src="' . $theme_webprefix . '/service-worker.js" type="application/javascript" defer></script>' . "\n";
print ' <link ' .
$ref_link .
' crossorigin="use-credentials" rel="manifest" href="' .
Expand Down

0 comments on commit 1d8022d

Please sign in to comment.