better dev runner, bug fixes, design changes, and more

This commit is contained in:
Zoe
2024-09-11 00:57:33 -05:00
parent 70a9bcd904
commit 1fb4c71b2b
14 changed files with 377 additions and 81 deletions

16
server.go Normal file
View File

@@ -0,0 +1,16 @@
//go:build !dev
// +build !dev
package main
import (
"filething/ui"
"github.com/labstack/echo/v4"
)
func init() {
initUi = func(e *echo.Echo) {
e.GET("/*", echo.StaticDirectoryHandler(ui.DistDirFS, false))
}
}