YuMS / gitlab-ce-pages

Unofficial GitLab Pages for GitLab CE
MIT License
64 stars 11 forks source link

Missing slash when nginx open file #16

Closed chikei closed 8 years ago

chikei commented 8 years ago

This commit seems causing plain setting (empty cname.txt, no RELATIVE_URL) missing a slash such that when navigating {GITLAB_CE_PAGE_URL}/{WORKSPACE}/{PROJECT_NAME} nginx try to open /home/pages/public{WORKSPACE}/{PROJECT_NAME} instead of /home/pages/public/{WORKSPACE}/{PROJECT_NAME}. When using 1.3.0, everything is fine.

YuMS commented 8 years ago

Thank you. I didn't add tests for this most fundamental function. And here I screwed things up. Bug confirmed and fixed in 8a76e61, please update to 1.3.2.