kobweb-site icon indicating copy to clipboard operation
kobweb-site copied to clipboard

fix(docs): Ktor server suggested code snippet in docs doesn't serve the files without .html suffix

Open EchoEllet opened this issue 8 months ago • 2 comments

Fixes #27

Maybe we could suggest using 404.html in the StaticContentConfig similarly to Kobweb.

EchoEllet avatar Mar 19 '25 20:03 EchoEllet

Also, thanks for creating an issue and filing a PR. I think you are right that these changes can help future users avoid confusion / wasting time.

bitspittle avatar Mar 20 '25 00:03 bitspittle

Huuuuuuge apologies for this taking so long. I finally had time to play around with your proposal and you are absolutely right, your approach is so much simpler.

Your PR helped me realize that I was also missing docs on how to set the error page in Kobweb.

I opened https://github.com/varabyte/kobweb-site/pull/34, you want to reverse review me there?

bitspittle avatar Aug 15 '25 00:08 bitspittle