Skip to content

Commit 817b5c8

Browse files
authored
Avoid HTTP 401 error on manifest.json due to CORS
Because of CORS, the manifest.json request returns an HTTP 401 error. Explaination: koajs/basic-auth#19
1 parent dcb153c commit 817b5c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<title>{{ .title }}</title>
5-
<link rel="manifest" href="manifest.json">
5+
<link rel="manifest" href="manifest.json" crossorigin="use-credentials">
66
<link rel="icon" href="favicon.ico">
77
<link rel="icon" href="icon.svg" type="image/svg+xml">
88
<link rel="stylesheet" href="./css/index.css" />

0 commit comments

Comments
 (0)