Jan De Dev
Jan De Dev

Reputation: 227

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?

Upvotes: 5

Views: 8579

Answers (1)

yurzui
yurzui

Reputation: 214067

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

Upvotes: 6

Related Questions