feat: multi-feature update
This commit is contained in:
@@ -47,6 +47,12 @@ var classicBuildFS embed.FS
|
||||
//go:embed web/classic/dist/index.html
|
||||
var classicIndexPage []byte
|
||||
|
||||
//go:embed web/image-gen/dist
|
||||
var imageGenBuildFS embed.FS
|
||||
|
||||
//go:embed web/image-gen/dist/index.html
|
||||
var imageGenIndexPage []byte
|
||||
|
||||
func main() {
|
||||
startTime := time.Now()
|
||||
|
||||
@@ -195,6 +201,8 @@ func main() {
|
||||
DefaultIndexPage: indexPage,
|
||||
ClassicBuildFS: classicBuildFS,
|
||||
ClassicIndexPage: classicIndexPage,
|
||||
ImageGenBuildFS: imageGenBuildFS,
|
||||
ImageGenIndexPage: imageGenIndexPage,
|
||||
})
|
||||
var port = os.Getenv("PORT")
|
||||
if port == "" {
|
||||
|
||||
Reference in New Issue
Block a user