Ability for admins to set default upload values

This commit is contained in:
Chocobozzz
2021-12-14 17:17:01 +01:00
parent a6f919e455
commit 3cf68b869d
31 changed files with 467 additions and 89 deletions

View File

@@ -2,16 +2,6 @@
set -eu
npm run clean:server:test
cd client/e2e
config="{"
config+=" \"rates_limit\": { \"api\": { \"max\": 5000 }, \"login\": { \"max\": 5000 } }"
config+=", \"log\": { \"level\": \"warn\" }"
config+=", \"signup\": { \"enabled\": false }"
config+=", \"transcoding\": { \"enabled\": false }"
config+="}"
npm run concurrently -- -k -s first \
"cd client/e2e && ../node_modules/.bin/wdio run ./wdio.local.conf.ts" \
"NODE_ENV=test NODE_CONFIG='$config' NODE_APP_INSTANCE=1 node dist/server" \
"NODE_ENV=test NODE_CONFIG='$config' NODE_APP_INSTANCE=2 node dist/server"
../node_modules/.bin/wdio run ./wdio.local.conf.ts