Skip to content

Commit 1d8022d

Browse files
committed
Fix to explicitly specify the MIME type
1 parent 5d3aa79 commit 1d8022d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

authentic-init.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ sub embed_favicon
200200
if (-w $theme_config_dir);
201201
};
202202

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

0 commit comments

Comments
 (0)