Specify the APP_URL in the hook's config file
Fixes https://pagure.io/fedora-infrastructure/issue/6596 Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
2948514084
commit
4b6c5733ed
1 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,13 @@ os.umask(0o002)
|
|||
|
||||
DB_URL = 'postgresql://{{ distgit_pagure_db_ro_user }}:{{ distgit_pagure_db_ro_pass }}@{{ distgit_pagure_db_host }}/{{ distgit_pagure_db_name }}'
|
||||
|
||||
### The URL at which the project is available.
|
||||
{% if env == 'staging' %}
|
||||
APP_URL = 'https://src.stg.fedoraproject.org/'
|
||||
{% else %}
|
||||
APP_URL = 'https://src.fedoraproject.org/'
|
||||
{% endif %}
|
||||
|
||||
WEBHOOK = True
|
||||
### Folder containing to the git repos
|
||||
GIT_FOLDER = '/srv/git/repositories'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue