Skip to content

Commit

Permalink
CORS param description
Browse files Browse the repository at this point in the history
  • Loading branch information
enola-dkfz committed Apr 5, 2024
1 parent d72ebb8 commit 5378804
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The following environment variables are mandatory for the usage of Prism.
--sites <SITES>
Sites to initially query, separated by ';' [env: SITES=]
--cors-origin <CORS_ORIGIN>
Credentials to use on the Beam Proxy [env: CORS_ORIGIN=]
Where to allow cross-origin resourse sharing from [env: CORS_ORIGIN=]
--project <PROJECT>
Project name [env: PROJECT=]
```
Expand Down
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ struct CliArgs {
#[clap(long, env, value_parser)]
sites: String,

/// Credentials to use on the Beam Proxy
/// Where to allow cross-origin resourse sharing from
#[clap(long, env, value_parser = parse_cors)]
pub cors_origin: AllowOrigin,

Expand Down

0 comments on commit 5378804

Please sign in to comment.