This commit is contained in:
parent
1c793809df
commit
9afb2d36f0
1 changed files with 2 additions and 4 deletions
6
main.go
6
main.go
|
@ -29,10 +29,10 @@ import (
|
||||||
// Serve frontend files from a given directory instead of embedded data
|
// Serve frontend files from a given directory instead of embedded data
|
||||||
|
|
||||||
//go:embed frontend-reactive/dist/* frontend-reactive/dist/assets
|
//go:embed frontend-reactive/dist/* frontend-reactive/dist/assets
|
||||||
var reactiveFS embed.FS
|
// var reactiveFS embed.FS
|
||||||
|
|
||||||
//go:embed frontend-noscript
|
//go:embed frontend-noscript
|
||||||
var nojsFS embed.FS
|
// var nojsFS embed.FS
|
||||||
|
|
||||||
//go:embed duck.webp
|
//go:embed duck.webp
|
||||||
var defaultDuck string
|
var defaultDuck string
|
||||||
|
@ -41,8 +41,6 @@ var defaultDuck string
|
||||||
var duckFS embed.FS
|
var duckFS embed.FS
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
_ = reactiveFS
|
|
||||||
_ = nojsFS
|
|
||||||
other.SetupFlags()
|
other.SetupFlags()
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
logfile := getLogFilePathOrNil()
|
logfile := getLogFilePathOrNil()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue