Skip to content

Commit 0b064e5

Browse files
Merge pull request #57832 from nextcloud/backport/57810/stable33
[stable33] fix(composer): Set overwrite.cli.url in serve script
2 parents ad637f5 + cdf0f6f commit 0b064e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"psalm:update-baseline": "psalm --no-cache --threads=$(nproc) --update-baseline",
7676
"serve": [
7777
"Composer\\Config::disableProcessTimeout",
78+
"php -f occ config:system:set 'overwrite.cli.url' --type string --value \"http://${NEXTCLOUD_HOST:=localhost}:${NEXTCLOUD_PORT:=8080}\"",
7879
"PHP_CLI_SERVER_WORKERS=${NEXTCLOUD_WORKERS:=4} php -S ${NEXTCLOUD_HOST:=localhost}:${NEXTCLOUD_PORT:=8080} -t ./"
7980
],
8081
"test": [

0 commit comments

Comments
 (0)