1
0
mirror of https://github.com/fumiama/paper-manager.git synced 2026-06-21 11:02:44 +08:00

implement production build

This commit is contained in:
源文雨
2023-04-27 01:35:30 +08:00
parent 940b2618b3
commit ff17c90139
7 changed files with 52 additions and 10 deletions

10
frontend/main.go Normal file
View File

@@ -0,0 +1,10 @@
package frontend
import (
"net/http"
"github.com/fumiama/paper-manager/frontend/vben"
)
// StaticHandler serves contents in frontend
var StaticHandler = http.FileServer(vben.Distribution)