Skip to content

Commit cdf0f6f

Browse files
provokateurinbackportbot[bot]
authored andcommitted
fix(composer): Set overwrite.cli.url in serve script
Signed-off-by: provokateurin <[email protected]>
1 parent ea12205 commit cdf0f6f

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)