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:
10
frontend/main.go
Normal file
10
frontend/main.go
Normal 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)
|
||||
Reference in New Issue
Block a user