diff options
| author | Bobby <[email protected]> | 2025-06-15 00:24:39 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2025-06-15 00:24:39 +0530 |
| commit | f1085e328bc3229e22c15c5685411649587c2832 (patch) | |
| tree | 21c7787fa06f834c8ef6246b1249efa727c936de /config | |
| parent | e974cf1efb210a130d14c4edf2f946ffbac71853 (diff) | |
| download | imageboard-f1085e328bc3229e22c15c5685411649587c2832.tar.xz imageboard-f1085e328bc3229e22c15c5685411649587c2832.zip | |
make server port int
Diffstat (limited to 'config')
| -rw-r--r-- | config/types.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/types.go b/config/types.go index 994b93e..34981c9 100644 --- a/config/types.go +++ b/config/types.go @@ -4,7 +4,7 @@ import "time" type ServerConfig struct {
Host string `env:"SERVER_HOST" default:"localhost"`
- Port string `env:"SERVER_PORT" default:"8080"`
+ Port int `env:"SERVER_PORT" default:"8080"`
AppName string `env:"APP_NAME" default:"ImageBoard"`
}
|
