mirror of https://github.com/apibillme/broker
update readme
This commit is contained in:
parent
3cfd928ce0
commit
5d11565f81
|
@ -140,7 +140,6 @@ async fn main() -> std::result::Result<(), std::io::Error> {
|
|||
|
||||
- the only param is the origin you want to allow - wildcard is not supported
|
||||
- the PORT needs to be passed in as an environment variable
|
||||
- the ORIGIN needs to be passed in as an environment variable
|
||||
- the EXPIRY (for jwts) needs to be passed in as an environment variable
|
||||
- the SECRET (for jwts) needs to be passed in as an environment variable
|
||||
- the file database saves to ``` ./tmp ``` of the project root
|
||||
|
@ -152,6 +151,7 @@ async fn main() -> std::result::Result<(), std::io::Error> {
|
|||
sudo snap install broker
|
||||
```
|
||||
|
||||
- broker will run as a daemon
|
||||
- the PORT needs to be passed in as an environment variable
|
||||
- the ORIGIN needs to be passed in as an environment variable
|
||||
- the EXPIRY (for jwts) needs to be passed in as an environment variable
|
||||
|
|
Loading…
Reference in New Issue