This commit is contained in:
gaoshuaixing
2023-11-13 19:06:36 +08:00
parent e0a7796e27
commit 3d46613186
3 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

@@ -10,3 +10,4 @@ public/electron/
pnpm-lock.yaml
.yalc/
yalc.lock
go/public/

View File

@@ -3,7 +3,7 @@ package api
import (
"net/http"
"ee-go/eruntime"
"ee-go/eapp"
"ee-go/eserver"
"github.com/gin-gonic/gin"
@@ -18,5 +18,5 @@ func Exit(ctx *gin.Context) {
ret := eserver.NewJson()
defer ctx.JSON(http.StatusOK, ret)
eruntime.Close()
eapp.Close()
}

View File

@@ -17,6 +17,7 @@
},
"static": {
"enable": true,
"package": "public/package.json",
"config": "public/config",
"dist": "public/dist",
"html": "public/html",