Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Update entrypoint.sh
Leendert de Borstbf38d4d393dc
diff --git a/src/AliasVault.WebApp/entrypoint.sh b/src/AliasVault.WebApp/entrypoint.shindex 19d54d25f..e4560236c 100644--- a/src/AliasVault.WebApp/entrypoint.sh+++ b/src/AliasVault.WebApp/entrypoint.sh@@ -1,7 +1,12 @@#!/bin/sh+# Set the default API URL for localhost debugging+DEFAULT_API_URL="http://localhost:81"-# Replace placeholder with the actual API URL-sed -i "s|http://localhost:5092|${API_URL}|g" /app/wwwroot/appsettings.json+# Use the provided API_URL environment variable if it exists, otherwise use the default+API_URL=${API_URL:-$DEFAULT_API_URL}++# Replace the default URL with the actual API URL+sed -i "s|http://localhost:5092|${API_URL}|g" /usr/share/nginx/html/appsettings.json# Start the applicationnginx -g "daemon off;"