refactor: serve static frontend with Go APIs

This commit is contained in:
brother7 committed 2026-08-16 20:47:45 +08:00
1 parent 763d2f0648
commit b14b4fced7
101 files changed
+963 -3928

No files matched your search

-12
View File
@@ -1,15 +1,3 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: zhinian-runtime
namespace: zhinian
data:
NODE_ENV: production
PORT: "3000"
ZHINIAN_AUTH_REQUIRED: "1"
ZHINIAN_PUBLIC_BASE_URL: https://REPLACE_WITH_PUBLIC_HOST
ZHINIAN_GO_INTERNAL_BASE_URL: http://zhinian-go-api:8080
---
# Go API runtime settings. Provider endpoints/models use code defaults unless
# optional provider/OSS credentials are added to the Deployment.
apiVersion: v1