Embed template files in server binary

This commit is contained in:
2024-08-01 00:42:35 -04:00
parent 5adfeefa33
commit 1d6e8a9811
3 changed files with 22 additions and 6 deletions

6
templates/fs.go Normal file
View File

@@ -0,0 +1,6 @@
package templates
import "embed"
//go:embed *
var FS embed.FS