Skip to content

Coding page not properly served by Gitlab

As mentioned on the Reddit thread, there seems to be an issue with the coding page on reload throwing a 404 (or if you directly visit https://whatcanidofor.archlinux.org/coding/).

I spent a few minutes trying to fix this and I noticed in the build, there's both a coding.html and a coding folder (but no coding/index.html), so maybe this is an issue with how svelte-kit exports pages when there's both a single page and a folder with the same name, mixing with how gitlab serves those requests. I've got an experimental branch (which I'll submit soon) which tweaks generation a bit and forces index.html files to be used, which makes the generated code a little more messy, but it should work with gitlab pages, so it's probably worth it.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information