Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHub Pages Failed to load resource

I am trying to host an Angular application with Bootstrap 4 on GitHub Pages with angular-cli-ghpages at https://ewoutg.github.io/ePortfolio/ but I run into several of these errors:

Failed to load resource: styles.05418b2b9d65514cb185.bundle.css the server responded with a status of 404 (Not Found)`

I do have a Dist folder with that resource in:

screenshot of folder structure

What am I doing wrong? How can I fix this?

like image 914
Jan De Dev Avatar asked Jun 03 '17 16:06

Jan De Dev


1 Answers

Seems your problem is related with case sensitivity. Try the following base href

<base href="https://ewoutg.github.io/ePortfolio/">

Here is used capital P

like image 167
yurzui Avatar answered Oct 13 '22 08:10

yurzui