mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 05:56:38 +08:00
fix(build): embed frontend into driver_http dist
Copy the static export to backend/plugins/drivers/driver_http/dist so Wavelet's //go:embed all:dist actually ships the OpenFlare UI. Point release builds at backend/go.mod and assert index.html after copy.
This commit is contained in:
@@ -58,6 +58,8 @@ find_go_files() {
|
||||
-o -path './frontend/out' \
|
||||
-o -path './internal/router/dist' \
|
||||
-o -path './internal/router/root/dist' \
|
||||
-o -path './backend/plugins/drivers/driver_http/dist' \
|
||||
-o -path './plugins/drivers/driver_http/dist' \
|
||||
-o -path './vendor' \) -prune \
|
||||
-o -type f -name '*.go' -print
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user