so that they are relative to the root. However, the app.css ones also go back three levels, which is one level behind the root, or when running with an alias like I am, it is precisely the root.
This patch should fix this behavior. Please note that I'm not sure what the purpose of the app.[HASH].css is, since I'm not a web developer
Congratulations on opening your first Pull Request, this is a momentous day for you and us! :sparkles:
To help us out, please make sure that you've followed the below:
Non-English translations should be submitted to https://translate.cachethq.io - Documentation should be submitted to https://docs.cachethq.io - Please make sure that all tests pass! - Don't worry about StyleCI, it'll fix itself on merge.
When having Cachet running behind a reverse proxy with a different subpath, I noticed the icons were broken.
For example, the server running the app is hosted at:
It is hosted by apache, and it has an Alias entry for "status" pointing to the public folder. Therefore, it is also accessible by:
The paths referenced in the CSS go back three levels, which for the dashboard is fine, since the structure is:
so that they are relative to the root. However, the app.css ones also go back three levels, which is one level behind the root, or when running with an alias like I am, it is precisely the root.
This patch should fix this behavior. Please note that I'm not sure what the purpose of the app.[HASH].css is, since I'm not a web developer