fix, ci: allow all origins in docker by default

feat/type-attributes
Tomáš Mládek 2023-08-23 22:00:34 +02:00
parent 67ed7ad701
commit 70828a8d70
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@ docker:
CMD ["serve", "/vault", "--bind", "0.0.0.0:8093"]
EXPOSE 8093
ENV UPEND_NO_DESKTOP=true
ENV UPEND_ALLOW_HOST='*'
ARG tag=trunk
SAVE IMAGE --push upend/upend:$tag

View File

@ -173,7 +173,7 @@ struct ServeArgs {
key: Option<String>,
/// Allowed host/domain name the API can serve.
#[arg(long)]
#[arg(long, env = "UPEND_ALLOW_HOST")]
allow_host: Vec<String>,
}