This commit is contained in:
laodaming
2023-08-15 13:35:23 +08:00
parent edf89ea301
commit 54568173af
19 changed files with 0 additions and 20 deletions

View File

@@ -4,7 +4,6 @@ import (
"flag"
"fmt"
"net/http"
"time"
"fusenapi/server/product/internal/config"
"fusenapi/server/product/internal/handler"
@@ -22,7 +21,6 @@ func main() {
var c config.Config
conf.MustLoad(*configFile, &c)
c.Timeout = int64(time.Second * 15)
server := rest.MustNewServer(c.RestConf, rest.WithCustomCors(auth.FsCors, func(w http.ResponseWriter) {