Embed template files in server binary
This commit is contained in:
6
templates/fs.go
Normal file
6
templates/fs.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package templates
|
||||
|
||||
import "embed"
|
||||
|
||||
//go:embed *
|
||||
var FS embed.FS
|
||||
Reference in New Issue
Block a user