feat: make invite link base URL configurable via APP_URL

Load environment variables from .env file using godotenv.
Defaults to https://demo.adriatica.io if APP_URL is not set.
This commit is contained in:
Ryan Hamamura
2026-02-04 07:02:52 -10:00
parent 20ed4807d9
commit 7faf94fa6d
7 changed files with 23 additions and 4 deletions

3
go.mod
View File

@@ -4,10 +4,10 @@ go 1.25.4
require (
github.com/google/uuid v1.6.0
github.com/joho/godotenv v1.5.1
github.com/pressly/goose/v3 v3.26.0
github.com/ryanhamamura/via v0.4.0
golang.org/x/crypto v0.47.0
maragu.dev/gomponents v1.2.0
modernc.org/sqlite v1.44.0
)
@@ -43,6 +43,7 @@ require (
golang.org/x/sync v0.18.0 // indirect
golang.org/x/sys v0.40.0 // indirect
golang.org/x/time v0.14.0 // indirect
maragu.dev/gomponents v1.2.0 // indirect
modernc.org/libc v1.67.4 // indirect
modernc.org/mathutil v1.7.1 // indirect
modernc.org/memory v1.11.0 // indirect