File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,6 @@ ENV BWP_ENABLE_API=true
69
69
ENV BWP_DB_FILE_API="/etc/bitwarden_passwordless/api.db"
70
70
ENV BWP_DB_FILE_ADMIN="/etc/bitwarden_passwordless/admin.db"
71
71
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
72
- ENV Passwordless_ApiUrl="http://localhost:5701/api"
73
- ENV PasswordlessManagement_ApiUrl="http://localhost:5701/api"
74
72
ENV SelfHosted=true
75
73
ENV RP_PORT=5701
76
74
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ if [ "$BWP_DOMAIN" != "localhost" ] && [ "$BWP_ENABLE_SSL" != "false" ]; then
48
48
echo " [Configuration] WARNING: WebAuthn requires SSL when not running on 'localhost'. This could result in unexpected behavior." ;
49
49
fi
50
50
51
- if [ " $BWP_PORT " == " null " ]; then
51
+ if [ -z " $BWP_PORT " ]; then
52
52
export Passwordless__ApiUrl=" https://${BWP_DOMAIN} /api/"
53
53
export PasswordlessManagement__ApiUrl=" https://${BWP_DOMAIN} /api/"
54
54
else
You can’t perform that action at this time.
0 commit comments