This commit is contained in:
NotII
2025-03-10 18:30:55 +00:00
parent 1bfc5df767
commit bc6280efda
2 changed files with 17 additions and 10 deletions

View File

@@ -3,7 +3,11 @@
NEXT_PUBLIC_API_URL=/api
# Flag to indicate we're running in Tor mode
NEXT_PUBLIC_TOR_MODE=true
# Force relative URLs for internal API communication
SERVER_API_URL=http://localhost:3000/api
# Disable HTTPS for internal container communication
USE_HTTPS=false
# Use relative URLs for all API communications - critical for Tor
SERVER_API_URL=/api
# Disable HTTPS for Tor communication (onion services already provide encryption)
USE_HTTPS=false
# Tor uses the same port for both internal and external communications
INTERNAL_API_PORT=3000
# Tell the app to check for onion addresses
CHECK_ONION_ADDRESS=true