download 경로 변경
This commit is contained in:
@ -50,7 +50,7 @@ func (h *houstonHandler) RegisterHandlers(serveMux *http.ServeMux, prefix string
|
|||||||
serveMux.Handle(fmt.Sprintf("/%s/deploys/", prefix), http.StripPrefix(fmt.Sprintf("/%s/deploys/", prefix), fsx))
|
serveMux.Handle(fmt.Sprintf("/%s/deploys/", prefix), http.StripPrefix(fmt.Sprintf("/%s/deploys/", prefix), fsx))
|
||||||
|
|
||||||
ufsx := http.FileServer(http.Dir("./downloads"))
|
ufsx := http.FileServer(http.Dir("./downloads"))
|
||||||
serveMux.Handle(fmt.Sprintf("/%s/downloads/", prefix), http.StripPrefix(fmt.Sprintf("/%s/downloads/", prefix), ufsx))
|
serveMux.Handle(fmt.Sprintf("/%s/houston/downloads/", prefix), http.StripPrefix(fmt.Sprintf("/%s/houston/downloads/", prefix), ufsx))
|
||||||
|
|
||||||
serveMux.HandleFunc("/"+path.Join(prefix, "upload"), func(w http.ResponseWriter, r *http.Request) {
|
serveMux.HandleFunc("/"+path.Join(prefix, "upload"), func(w http.ResponseWriter, r *http.Request) {
|
||||||
defer func() {
|
defer func() {
|
||||||
|
|||||||
1
warehouse/0.0.5/@args
Normal file
1
warehouse/0.0.5/@args
Normal file
@ -0,0 +1 @@
|
|||||||
|
["././././warehouse.exe","-dev","-port=8090"]
|
||||||
1
warehouse/0.0.5/errs/warehouse_2023-05-26T16-45-31.err
Normal file
1
warehouse/0.0.5/errs/warehouse_2023-05-26T16-45-31.err
Normal file
@ -0,0 +1 @@
|
|||||||
|
2023/05/26 16:45:31 warehouse.exe 2023-05-26 16:11:31.7258831 +0900 KST
|
||||||
Reference in New Issue
Block a user