Skip to content

Commit

Permalink
Patch Pelican's url env setup arg removal
Browse files Browse the repository at this point in the history
  • Loading branch information
Zinidia committed Nov 26, 2024
1 parent 8e8ce3b commit 3f16ab5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions installers/basic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ configure_env() {
done

# Fill in environment:setup automatically
php artisan p:environment:setup \
--url="$app_url"
php artisan p:environment:setup
sed -i "s|^APP_URL=.*|APP_URL=${app_url}|" .env

# Configure database and backup credentials
php artisan p:environment:database \
Expand Down
4 changes: 2 additions & 2 deletions installers/panel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ configure() {
php artisan key:generate --force

# Fill in environment:setup automatically
php artisan p:environment:setup \
--url="$app_url"
php artisan p:environment:setup
sed -i "s|^APP_URL=.*|APP_URL=${app_url}|" .env

# Fill in environment:database credentials automatically
php artisan p:environment:database \
Expand Down

0 comments on commit 3f16ab5

Please sign in to comment.