Skip to content

Commit 1d3b869

Browse files
committed
fix: config json and env tag
1 parent c711ba5 commit 1d3b869

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conf/config.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ type Config struct {
2828
Address string `json:"address" env:"ADDR"`
2929
Port int `json:"port" env:"PORT"`
3030
Assets string `json:"assets" env:"ASSETS"`
31-
LocalAssets string `json:"localassets" env:"LOCALASSETS"`
32-
SubFolder string `json:"subfolder" env:"SUBFOLDER"`
31+
LocalAssets string `json:"local_assets" env:"LOCAL_ASSETS"`
32+
SubFolder string `json:"sub_folder" env:"SUB_FOLDER"`
3333
Database Database `json:"database"`
3434
Scheme Scheme `json:"scheme"`
3535
Cache CacheConfig `json:"cache"`

0 commit comments

Comments
 (0)