Small tweaks (cors etc)
This commit is contained in:
parent
1a1d07e5cb
commit
0c9a5093d0
5 changed files with 28 additions and 10 deletions
7
Makefile
7
Makefile
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue