mirror of
https://git.evilfox.cc/test2/wg.git
synced 2026-07-31 11:53:22 +00:00
Change app listen port from 8080 to 4000.
This commit is contained in:
@@ -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!!"),
|
||||
|
||||
Reference in New Issue
Block a user