1
This commit is contained in:
@@ -6,10 +6,10 @@ import (
|
||||
)
|
||||
|
||||
// webStaticDirs 候选前端静态目录(相对 server 工作目录,按序取第一个存在者):
|
||||
// 1. 本地开发:直接服务 Flutter 构建产物 app/build/web(scripts/build_web.sh 或 dev.sh 构建)
|
||||
// 1. 本地开发:uni-app H5 构建产物 app-uni/dist/build/h5(npm run build:h5)
|
||||
// 2. Docker 镜像:Dockerfile web-builder 阶段产物(/app/web)
|
||||
var webStaticDirs = []string{
|
||||
"../app/build/web",
|
||||
"../app-uni/dist/build/h5",
|
||||
"web",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user