- Timestamp:
- Sep 2, 2023, 12:43:19 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/main.go
r23 r24 5 5 "net/http" 6 6 "net/url" 7 "os" 7 8 "time" 8 9 … … 216 217 app.Static("/static", "./static") 217 218 218 app.Listen(":3000") 219 address := os.Getenv("ADDRESS") 220 if address == "" { 221 address = "127.0.0.1:3000" 222 } 223 app.Listen(address) 219 224 }
Note:
See TracChangeset
for help on using the changeset viewer.