Skip to content

Commit

Permalink
3096: Cleanup APP_DEFAULT_URI config
Browse files Browse the repository at this point in the history
  • Loading branch information
turegjorup committed Nov 28, 2024
1 parent d757e86 commit 05f22ed
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,3 @@ ALLOWED_IMAGE_MIME_TYPES='["image/jpeg", "image/png"]'
SITE_SEND_FROM_EMAIL=[email protected]
SITE_REPLY_TO_EMAIL=[email protected]
SITE_NAME="Danish event database (version 2.x)"
SITE_DOMAIN=event-database-imports.local.itkdev.dk
3 changes: 0 additions & 3 deletions config/packages/framework.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ framework:
php_errors:
log: true

router:
default_uri: '%env(APP_DEFAULT_URI)%'

assets:
base_path: '%env(APP_PATH_PREFIX)%'

Expand Down
2 changes: 1 addition & 1 deletion config/packages/routing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ framework:

# Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
# See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
default_uri: 'https://%env(SITE_DOMAIN)%'
default_uri: '%env(APP_DEFAULT_URI)%'

when@prod:
framework:
Expand Down

0 comments on commit 05f22ed

Please sign in to comment.