1
0
Fork 0
forked from 0x2E/fusion
fusion/.env.example
Yuan dd0d2e7d7d
feat: make the password optional (#128)
* feat: make the password optional

* fix: put the check outside HashPassword

* refactor: change PasswordHash to a pointer type for better checking
2025-04-05 20:14:31 +08:00

22 lines
510 B
Text

# To populate a .env file, copy this file to .env:
#
# cp -n .env.example .env
# Web Server
HOST="0.0.0.0"
PORT=8080
# WebUI password. Leave it an empty string to disable password protection.
PASSWORD="fusion"
# Path to store sqlite DB file
DB="fusion.db"
# Enable Secure Cookie
# It is automatically set to true when TLS_* is not empty.
SECURE_COOKIE=false
# Path to TLS cert and key files
# If you are using a reverse proxy like Nginx to handle HTTPS, please leave these empty.
TLS_CERT=""
TLS_KEY=""