-
-
Save carlcs/674d5b07f47dfd25ef5603aa8f2bafb3 to your computer and use it in GitHub Desktop.
Site URLs with multiple sites in Craft 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SITE_URL_EN="@web" | |
SITE_URL_DE="@web/de" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return [ | |
// Global settings | |
'*' => [ | |
'siteUrl' => [ | |
'english' => getenv('SITE_URL_EN'), | |
'german' => getenv('SITE_URL_DE'), | |
], | |
], | |
// Staging environment settings | |
'staging' => [ | |
], | |
// Production environment settings | |
'production' => [ | |
], | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment