Skip to content

Commit 12ad2e3

Browse files
Merge pull request #57833 from nextcloud/backport/57810/stable31
[stable31] fix(composer): Set overwrite.cli.url in serve script
2 parents 26a3db1 + 889cd09 commit 12ad2e3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"psalm:update-baseline": "psalm --no-cache --threads=$(nproc) --update-baseline",
6767
"serve": [
6868
"Composer\\Config::disableProcessTimeout",
69+
"php -f occ config:system:set 'overwrite.cli.url' --type string --value \"http://${NEXTCLOUD_HOST:=localhost}:${NEXTCLOUD_PORT:=8080}\"",
6970
"PHP_CLI_SERVER_WORKERS=${NEXTCLOUD_WORKERS:=4} php -S ${NEXTCLOUD_HOST:=localhost}:${NEXTCLOUD_PORT:=8080} -t ./"
7071
],
7172
"test": "phpunit --configuration tests/phpunit-autotest.xml",

0 commit comments

Comments
 (0)