mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-18 13:28:12 +08:00
go
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -10,3 +10,4 @@ public/electron/
|
||||
pnpm-lock.yaml
|
||||
.yalc/
|
||||
yalc.lock
|
||||
go/public/
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
},
|
||||
"static": {
|
||||
"enable": true,
|
||||
"package": "public/package.json",
|
||||
"config": "public/config",
|
||||
"dist": "public/dist",
|
||||
"html": "public/html",
|
||||
|
||||
Reference in New Issue
Block a user