- Changed the build process to include a web UI build stage using Node.js. - Updated Go build stage to copy web UI files to the correct location. - Removed the main.go file as it is no longer needed. - Added SQLite database configuration to example config. - Updated dependencies in go.mod and go.sum, including new packages for JWT and SQLite. - Modified .gitignore to include new database and configuration files. Signed-off-by: zhenyus <zhenyus@mathmast.com>
7 lines
84 B
Go
7 lines
84 B
Go
package web
|
|
|
|
import "embed"
|
|
|
|
//go:embed templates/* assets/*
|
|
var WebAssets embed.FS
|