Manifest.json 未找到 codeigniter pwa 应用程序

问题描述

您好,我正在尝试为我的网站设置 pwa 支持并收到 404 manifest.json not found 错误,我使用的是 codeigniter 3.0 并在根文件夹中添加了 manifest.json。

并在标题添加路径,如,

<link rel='manifest' href='/manifest.json'>

请帮忙,提前致谢

解决方法

实际上是文件名错误,我命名为 mainfest.json 而不是 manifest.json 。 codeigniter 或其他东西没问题。

:)