config 구조 변경

This commit is contained in:
2023-06-13 16:26:00 +09:00
parent 26b12fad72
commit ac355d32b4
3 changed files with 56 additions and 27 deletions

View File

@ -45,7 +45,7 @@ func NewHoustonHandler() HoustonServerWithHandler {
}
func (h *houstonHandler) RegisterHandlers(serveMux *http.ServeMux, prefix string) error {
storagePath := loadConfig().StoragePath
storagePath := loadServerConfig().StoragePath
h.deployPath = path.Join(storagePath, "deploys")
h.downloadPath = path.Join(storagePath, "downloads")