Change app listen port from 8080 to 4000.

This commit is contained in:
2026-07-29 09:41:17 +03:00
parent 57d8ed7388
commit 3a864b41a7
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -24,8 +24,8 @@ type Config struct {
func Load() Config {
return Config{
AppPort: getenv("APP_PORT", "8080"),
AppURL: strings.TrimRight(getenv("APP_URL", "http://localhost:8080"), "/"),
AppPort: getenv("APP_PORT", "4000"),
AppURL: strings.TrimRight(getenv("APP_URL", "http://localhost:4000"), "/"),
SiteName: getenv("SITE_NAME", "Evilfox.cc"),
DatabaseURL: getenv("DATABASE_URL", "postgres://wg:wg@localhost:5432/wg?sslmode=disable"),
SessionSecret: getenv("SESSION_SECRET", "change-me-session-secret-32chars!!"),