#Links in production

3 messages · Page 1 of 1 (latest)

wise kite
#

Navigation to another page without including /index.html does not work in production when served as static files with Caddy. How to fix that?

elfin oasisBOT
#

Hi @wise kite. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Hmm, I don't know enough to give you a confident answer yet. The information extracts provided do not contain specific details on how to fix navigation issues in production when serving static files with Caddy in the Astro framework.

However, there are discussions about issues with relative paths in the generated CSS files and the need to manually adjust these paths for the site to work correctly. This might be related to your issue, but without more specific information, it's hard to say for sure.

For more detailed information, you might want to check out the Astro GitHub issues (https://github.com/withastro/astro/issues) or the Astro documentation (https://docs.astro.build).

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: