Small tweaks (cors etc)

This commit is contained in:
Igor Katson 2024-08-21 22:27:58 +01:00
parent 1a1d07e5cb
commit 0c9a5093d0
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
5 changed files with 28 additions and 10 deletions

View file

@ -17,14 +17,17 @@ webui-build: webui-deps
@PHONY: devserver
devserver:
echo -n '' > /tmp/rqbit-log && cargo run -- \
echo -n '' > /tmp/rqbit-log && CORS_ALLOW_REGEXP=".*" \
cargo run -- \
--log-file /tmp/rqbit-log \
--log-file-rust-log=debug,librqbit=trace \
--http-api-listen-addr 0.0.0.0:3030 \
server start /tmp/scratch/
@PHONY: devserver
devserver-postgres:
echo -n '' > /tmp/rqbit-log && cargo run -- \
echo -n '' > /tmp/rqbit-log && CORS_ALLOW_REGEXP=".*" \
cargo run -- \
--log-file /tmp/rqbit-log \
--log-file-rust-log=debug,librqbit=trace \
server start --fastresume --persistence-config postgres:///rqbit /tmp/scratch/