Skip to content

Commit

Permalink
PAS-570 | Extra colon appended to ApiUrl unnecessarily (#723)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashendrickx authored Sep 2, 2024
1 parent ffb88d0 commit b3ba2cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions self-host/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ ENV BWP_ENABLE_API=true
ENV BWP_DB_FILE_API="/etc/bitwarden_passwordless/api.db"
ENV BWP_DB_FILE_ADMIN="/etc/bitwarden_passwordless/admin.db"
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
ENV Passwordless_ApiUrl="http://localhost:5701/api"
ENV PasswordlessManagement_ApiUrl="http://localhost:5701/api"
ENV SelfHosted=true
ENV RP_PORT=5701

Expand Down
2 changes: 1 addition & 1 deletion self-host/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if [ "$BWP_DOMAIN" != "localhost" ] && [ "$BWP_ENABLE_SSL" != "false" ]; then
echo "[Configuration] WARNING: WebAuthn requires SSL when not running on 'localhost'. This could result in unexpected behavior.";
fi

if [ "$BWP_PORT" == "null" ]; then
if [ -z "$BWP_PORT" ]; then
export Passwordless__ApiUrl="https://${BWP_DOMAIN}/api/"
export PasswordlessManagement__ApiUrl="https://${BWP_DOMAIN}/api/"
else
Expand Down

0 comments on commit b3ba2cf

Please sign in to comment.