Skip to content

Commit

Permalink
[Config] change default app_domain host
Browse files Browse the repository at this point in the history
  • Loading branch information
ottaviano committed Feb 21, 2024
1 parent db2a508 commit 03de82a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions config/routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ app_oauth:
type: "annotation"
prefix: "/oauth/v2"
defaults:
app_domain: "%app_host%"
app_domain: "%app_renaissance_host%"
requirements:
app_domain: "%app_host%|%app_renaissance_host%|%api_renaissance_host%|%jemengage_auth_host%"

Expand Down Expand Up @@ -255,7 +255,7 @@ app_api_intl:
resource: "../src/Controller/IntlController.php"
type: "annotation"
defaults:
app_domain: "%app_host%"
app_domain: "%app_renaissance_host%"
requirements:
app_domain: "%app_host%|%procuration_host%|%app_renaissance_host%"

Expand Down Expand Up @@ -305,7 +305,7 @@ user_validate_new_email:
controller: App\Controller\EnMarche\Security\SecurityController::activateNewEmailAction
methods: GET
defaults:
app_domain: "%app_host%"
app_domain: "%app_renaissance_host%"
requirements:
app_domain: "%app_host%|%app_renaissance_host%"
"adherent_uuid": "%pattern_uuid%"
Expand All @@ -323,7 +323,7 @@ app_api_resubscribe_email:
resource: "../src/Controller/Api/ResubscribeEmailController.php"
type: "annotation"
defaults:
app_domain: "%app_host%"
app_domain: "%app_renaissance_host%"
requirements:
app_domain: "%app_host%|%app_renaissance_host%"

Expand All @@ -333,7 +333,7 @@ app_api_user_show_me:
methods: GET
controller: App\Controller\Api\UserController::showMe
defaults:
app_domain: "%app_host%"
app_domain: "%app_renaissance_host%"
requirements:
app_domain: "%app_host%|%app_renaissance_host%"

Expand All @@ -343,7 +343,7 @@ app_validate_email:
methods: POST
controller: App\Controller\Renaissance\Adhesion\Api\ValidateEmailController
defaults:
app_domain: "%app_host%"
app_domain: "%app_renaissance_host%"
requirements:
app_domain: "%app_renaissance_host%|%national_event_host%"

Expand All @@ -353,7 +353,7 @@ app_renaissance_newsletter_confirm:
methods: GET
controller: App\Controller\Renaissance\Newsletter\ConfirmNewsletterController
defaults:
app_domain: "%app_host%"
app_domain: "%app_renaissance_host%"
requirements:
app_domain: "%app_renaissance_host%|%national_event_host%"

Expand All @@ -362,7 +362,7 @@ app_article:
type: "annotation"
resource: "../src/Controller/EnMarche/ArticleController.php"
defaults:
app_domain: "%app_host%"
app_domain: "%app_renaissance_host%"
requirements:
app_domain: "%app_host%|%app_renaissance_host%"

Expand All @@ -371,7 +371,7 @@ app_profile:
type: "annotation"
resource: "../src/Controller/EnMarche/UserController.php"
defaults:
app_domain: "%app_host%"
app_domain: "%app_renaissance_host%"
requirements:
app_domain: "%app_host%|%app_renaissance_host%"

Expand All @@ -386,7 +386,7 @@ app_certification:
type: "annotation"
resource: "../src/Controller/EnMarche/CertificationRequestController.php"
defaults:
app_domain: "%app_host%"
app_domain: "%app_renaissance_host%"
requirements:
app_domain: "%app_host%|%app_renaissance_host%"

Expand All @@ -397,7 +397,7 @@ app_static_page:
methods: GET
defaults:
_controller: 'App\Controller\EnMarche\PageController:showPageAction'
app_domain: "%app_host%"
app_domain: "%app_renaissance_host%"
requirements:
slug: .+
app_domain: "%app_host%|%app_renaissance_host%"

0 comments on commit 03de82a

Please sign in to comment.