I want to use Gitlab
to manage web-application development. Is it possible to access the html
file I have created in my Gitlab repo
from the browser?
Currently there are ssh/http
url for access to the repo like:
ssh: [email protected]:balbal/web-app.git
http: (ht tps://something.some.ca:balbal/web-app.git)
When I access https
from a browser it will just jump into the git repo manage UI (like show you all the commits, branches and detail files)
What I want is web access to a particular html
file I have created in my repo (like if there is a index.html
file in a folder called 'www' in my repo). I want some URL that I can type into the browser and which will show me the index.html
content.
Is it possible for me to set up an web access to these html
files?
For quick debugging/testing purposes you may use the FireFox PourBico plugin.
Change the response header to text/html
Avoid doing this on the public GitLab, do this on your own GitLab deployment, GitLab was not meant to be hacked like this.
Also see Github pages, HTTP headers