mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-23 21:55:30 +02:00
📝 Adds troubleshooting for 404 on CDN hosting
This commit is contained in:
parent
f8ec2cc73c
commit
d35bd9457b
@ -35,6 +35,14 @@ Header set X-Frame-Options: "ALLOW-FROM http://[dashy-location]/"
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## 404 On Static Hosting
|
||||||
|
|
||||||
|
Try changing Vue's routing mode to hash, instead of using the HTML5 router. This can be done by setting `appConfig.routingMode` to `hash`.
|
||||||
|
|
||||||
|
This determines the URL format for routing to sub-pages. hash mode will look like `/#/home` whereas with history mode available you have nice clean URLs, like `/home`. But history-mode requires a bit of extra server config if you are using a custom `BASE_URL`, which you can learn more about in the [Vue docs](https://router.vuejs.org/guide/essentials/history-mode.html#example-server-configurations).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## Yarn Error
|
## Yarn Error
|
||||||
|
|
||||||
For more info, see [Issue #1](https://github.com/Lissy93/dashy/issues/1)
|
For more info, see [Issue #1](https://github.com/Lissy93/dashy/issues/1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user