cleanup
This commit is contained in:
@@ -5,15 +5,9 @@ import (
|
||||
"io/fs"
|
||||
)
|
||||
|
||||
// Templates contains all server-rendered HTML templates.
|
||||
//
|
||||
//go:embed templates/index.html
|
||||
var Templates embed.FS
|
||||
|
||||
// Assets contains every browser asset needed by the POC page.
|
||||
// The production binary serves these files from memory, so the server does not
|
||||
// depend on a static/ directory beside the executable.
|
||||
//
|
||||
//go:embed static/* static/css/* static/js/* favicon.ico
|
||||
var Assets embed.FS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user