diff --git a/composer.json b/composer.json index ff381015d7b..b0e4b8a61ac 100644 --- a/composer.json +++ b/composer.json @@ -66,6 +66,7 @@ "psalm:update-baseline": "psalm --no-cache --threads=$(nproc) --update-baseline", "serve": [ "Composer\\Config::disableProcessTimeout", + "php -f occ config:system:set 'overwrite.cli.url' --type string --value \"http://${NEXTCLOUD_HOST:=localhost}:${NEXTCLOUD_PORT:=8080}\"", "PHP_CLI_SERVER_WORKERS=${NEXTCLOUD_WORKERS:=4} php -S ${NEXTCLOUD_HOST:=localhost}:${NEXTCLOUD_PORT:=8080} -t ./" ], "test": "phpunit --configuration tests/phpunit-autotest.xml",