在github页面上部署了Angular应用后,它不会在www.https://www.illiteratiartandcowork.com/
上在线呈现,该页面只是空白,并且控制台中出现错误。
在Firefox上说:
在Chrome上显示:
任何想法可能是什么问题?
它看起来像基本href的问题,因为www.illiteratiartandcowork.com/theotherspace/
中没有文件,请尝试将github上docs文件夹中index.html中的base href="/theotherspace/"
更改为base href="/"
。
从该网址我可以正确获取css文件(它也适用于其他文件)https://www.illiteratiartandcowork.com/styles.a400f1df2c914132955e.css