I’m using Gitlab pages and review apps for a couple of static site generators for myself and my day job. pages works great, but we’re having trouble with review apps. They deploy to specified URLs without difficulty, but they’re not that usable for two reasons:
- whatever webserver serves review apps does not default to
index.htmlwhen a url specifies a directory,
- in some cases, the server also seems to send all resources (including
*.jsfiles) with a mime type of
text/html, which causes CORS errors.
So my questions basically are:
- are review apps served from the image specified in the
.gitlab-ci.ymlfile (In which case, we should be able to configure the server to solve these issues)?
- or are they served from some gitlab.com infrastructure (and if so, can we influence the above issues)?