Adjust the pagure configuration file to rely on pagure-staging
This commit is contained in:
parent
1151064eb4
commit
b1da9162b0
2 changed files with 6 additions and 6 deletions
|
@ -25,14 +25,14 @@ EMAIL_ERROR = 'pingou@pingoured.fr'
|
|||
SMTP_SERVER = 'localhost'
|
||||
|
||||
### Email used to sent emails
|
||||
{% if env == 'staging' %}
|
||||
{% if env == 'pagure-staging' %}
|
||||
FROM_EMAIL = 'pagure@stg.pagure.io'
|
||||
{% else %}
|
||||
FROM_EMAIL = 'pagure@pagure.io'
|
||||
{% endif %}
|
||||
|
||||
### The URL at which the project is available.
|
||||
{% if env == 'staging' %}
|
||||
{% if env == 'pagure-staging' %}
|
||||
APP_URL = 'https://stg.pagure.io/'
|
||||
{% else %}
|
||||
APP_URL = 'https://pagure.io/'
|
||||
|
|
|
@ -25,14 +25,14 @@ EMAIL_ERROR = 'pingou@pingoured.fr'
|
|||
SMTP_SERVER = 'localhost'
|
||||
|
||||
### Email used to sent emails
|
||||
{% if env == 'staging' %}
|
||||
APP_URL = 'https://dev.pagure.io/'
|
||||
{% if env == 'pagure-staging' %}
|
||||
FROM_EMAIL = 'pagure@stg.pagure.io'
|
||||
{% else %}
|
||||
FROM_EMAIL = 'pagure@dev.pagure.io'
|
||||
FROM_EMAIL = 'pagure@pagure.io'
|
||||
{% endif %}
|
||||
|
||||
### The URL at which the project is available.
|
||||
{% if env == 'staging' %}
|
||||
{% if env == 'pagure-staging' %}
|
||||
APP_URL = 'https://dev.pagure.io/'
|
||||
{% else %}
|
||||
APP_URL = 'https://pagure.io/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue