When I go to https://gdccdated.glitch.me/ server responds with contents of
How to make static server respond with contents of
index.xhtml file instead?
index.html doesn’t help (server responds with directory listing page).
project editor link
I haven’t seen anything that would give us control over the details of how Glitch serves static sites. If it’s not already working with .xhtml, I think all you can do is post it in the features request category. And possibly start converting your files to plain HTML
Static server serves XHTML with correct
printf 'GET /index.xhtml HTTP/1.0\r\nhost:gdccdated.glitch.me\r\nuser-agent:asdf\r\n\r\n' | nc gdccdated.glitch.me 80 | grep -i content-type
I wanted to ask if it’s possible to make
/ page not
I use XHTML because it errors when invalid instead of silently doing something weird.
good? then it sounds like there’s no need to convert xhtml to html
same answer as above, we users have no control over how static sites are served, other than by opening feature requests
opened feature request: Feature request: custom index file in static websites
You can either use a node server or have an index.html file redirect to your index.xhtml file.