rclon commited on
Commit
c775115
·
verified ·
1 Parent(s): 07b84da

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -21,7 +21,7 @@ RUN git clone https://github.com/deanxv/genspark2api.git .
21
 
22
 
23
  # 添加修改路由的命令
24
- RUN sed -i 's|v1Router := router.Group("/v1")|v1Router := router.Group("/hf/v1")|' router/api-router.go
25
 
26
  # 直接执行依赖下载
27
  RUN go mod download
 
21
 
22
 
23
  # 添加修改路由的命令
24
+ RUN sed -i 's|router.Group("/v1")|router.Group("/hf/v1")|' router/api-router.go
25
 
26
  # 直接执行依赖下载
27
  RUN go mod download