我在我的应用程序根目录(https://localhost:5001/manifest.webapp)上托管了一个https://localhost:5001/manifest.webapp,当我在KaiOS模拟器中打开它时,会得到以下错误:
无法访问启动文档
https://localhost:5001/的应用程序,获得HTTP 405
其答复的卷曲如下:
HTTP/1.1 200 OK
Date: Wed, 02 Oct 2019 21:18:41 GMT
Content-Type: application/x-web-app-manifest+json
Content-Length: 6097
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Last-Modified: Tue, 01 Oct 2019 07:35:10 GMT
Accept-Ranges: bytes
ETag: "1d5782ac10b5cd1"
Set-Cookie: ClientId=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; samesite=lax
Set-Cookie: ClientId=922A46E87C9646C18555E7E7DE84840F; expires=Mon, 02 Oct 2119 21:18:42 GMT; path=/; samesite=lax
Access-Control-Allow-Origin: *
x-frame-options: allow-from https://example.com/
x-web-server-version: 1.0.0.0
x-besku: UNKNOWN
{
"name": "abc",
"short_name": "abc",
"icons": [..],
"scope": "/",
"start_url": "/abc/?start_url=sss",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#0078d7"
...任何帮助都将不胜感激。
发布于 2019-10-04 06:05:03
Firefox /kaios在GET之前进行头调用,所以应该在服务器上实现,否则会出现此错误。
https://stackoverflow.com/questions/58209550
复制相似问题