Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Link to subpage generates error on refresh or direct call. #763

Closed
4 tasks done
Zwixx opened this issue Jun 25, 2022 · 3 comments
Closed
4 tasks done

[BUG] Link to subpage generates error on refresh or direct call. #763

Zwixx opened this issue Jun 25, 2022 · 3 comments
Assignees
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working

Comments

@Zwixx
Copy link

Zwixx commented Jun 25, 2022

Environment

Self-Hosted (Docker)

Version

2.1.0

Describe the problem

I use Dashy with subpages for Example

pages:
- name: Sonstiges
path: conf.sonstiges.yml

If I open the main window with http://192.168.56.106:4000/ all works. The page "Sonstiges" are shown. If I click on this link, all works. For Example http://192.168.56.106:4000/home/sonstiges works if I go this site with the main link. If I go directly to this page or press F5 in the Browser, following Error occurs:

Cannot GET /home/sonstiges

Additional info

I use the Docker container found on docker Hub. Use Material-Dark as Theme.

Please tick the boxes

@Zwixx Zwixx added the 🐛 Bug [ISSUE] Ticket describing something that isn't working label Jun 25, 2022
@liss-bot
Copy link
Collaborator

If you're enjoying Dashy, consider dropping us a ⭐
🤖 I'm a bot, and this message was automated

@Lissy93
Copy link
Owner

Lissy93 commented Jun 25, 2022

Hiya @Zwixx

Under appConfig, set routingMode to hash. Then rebuild, and refresh the page.

See Troubleshooting Guide for more info.
Gonna close, as this is a dup of #670

@rajivvishwa
Copy link

rajivvishwa commented Oct 21, 2022

@Lissy93 - I was stuck as well so I'd to comb through the issues list to learn about this work around. Would be great if we can get this tip added in the docs - https://github.com/Lissy93/dashy/wiki/pages-and-sections#restrictions

🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more! - pages and sections · Lissy93/dashy Wiki

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working
Projects
None yet
Development

No branches or pull requests

4 participants