Avoid HTTP 401 error on manifest.json due to CORS
Because of CORS, the manifest.json request returns an HTTP 401 error. Explaination: https://github.com/koajs/basic-auth/issues/19
This commit is contained in:
parent
dcb153c8a4
commit
817b5c8133
|
@ -2,7 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>{{ .title }}</title>
|
<title>{{ .title }}</title>
|
||||||
<link rel="manifest" href="manifest.json">
|
<link rel="manifest" href="manifest.json" crossorigin="use-credentials">
|
||||||
<link rel="icon" href="favicon.ico">
|
<link rel="icon" href="favicon.ico">
|
||||||
<link rel="icon" href="icon.svg" type="image/svg+xml">
|
<link rel="icon" href="icon.svg" type="image/svg+xml">
|
||||||
<link rel="stylesheet" href="./css/index.css" />
|
<link rel="stylesheet" href="./css/index.css" />
|
||||||
|
|
Loading…
Reference in New Issue