aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-06-15 00:24:39 +0530
committerBobby <[email protected]>2025-06-15 00:24:39 +0530
commitf1085e328bc3229e22c15c5685411649587c2832 (patch)
tree21c7787fa06f834c8ef6246b1249efa727c936de /config
parente974cf1efb210a130d14c4edf2f946ffbac71853 (diff)
downloadimageboard-f1085e328bc3229e22c15c5685411649587c2832.tar.xz
imageboard-f1085e328bc3229e22c15c5685411649587c2832.zip
make server port int
Diffstat (limited to 'config')
-rw-r--r--config/types.go2
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"`
}