我试图启动GitHub Pages,但是在我的页面中它完全空白,并且控制台错误几乎都是400。
我试图更改主页URL,但是没有用。不知道是什么原因造成的。
我的github页面:https://shilibrad.github.io/monsters-rolodex/
https://github.com/shilibrad/monsters-rolodex
错误:
Failed to load resource: the server responded with a status of 400 ()
2.8f03cf10.chunk.js:1
Failed to load resource: the server responded with a status of 400 ()
main.dd5c26f6.chunk.js:1
Failed to load resource: the server responded with a status of 400 ()
2.8f03cf10.chunk.js:1
Failed to load resource: the server responded with a status of 400 ()
main.dd5c26f6.chunk.js:1
Failed to load resource: the server responded with a status of 400 ()
shilibrad.github.io/monsters-rolodex/%PUBLIC_URL%/favicon.ico:1 Failed to load resource: the server responded with a status of 400 ()
manifest.json:1
Failed to load resource: the server responded with a status of 400 ()
manifest.json:1 Manifest: Line: 1, column: 1, Syntax error.
main.7444030a.chunk.css:1
Failed to load resource: the server responded with a status of 400 ()
答案 0 :(得分:0)
检查问题是否仍然存在:
两者都可能影响GitHub服务器如何感知HTTP请求。
确保您拥有
index.html
文件如latest OP's commit所示,路径不正确:
/monster-rolodex/...
# instead of
/monsters-rolodex/