oauth config: Use GITLAB_URL env variable
In order to use oauth from gitlab CE instance one has to be able to provide the URL of the instance. closes #209 (https://gitlab.com/commento/commento/issues/209)
This commit is contained in:
committed by
Adhityaa Chandrasekar
parent
07cfcc9c17
commit
b57b6bcc12
@@ -56,6 +56,7 @@ func configParse() error {
|
||||
|
||||
"GITLAB_KEY": "",
|
||||
"GITLAB_SECRET": "",
|
||||
"GITLAB_URL": "https://gitlab.com",
|
||||
}
|
||||
|
||||
if os.Getenv("COMMENTO_CONFIG_FILE") != "" {
|
||||
|
||||
Reference in New Issue
Block a user