properly organize and configure gloom

This commit is contained in:
Zoe
2025-05-16 17:23:32 +00:00
parent a6f4782518
commit a8ec911f74
12 changed files with 246 additions and 90 deletions

15
embed_default.go Normal file
View File

@@ -0,0 +1,15 @@
//go:build gloomi
// +build gloomi
package main
import "embed"
//go:embed schema.sql dist/host dist/gloomi.so
var embeddedAssets embed.FS
var defaultConfig = []byte(`
[[plugins]]
file = "gloomi.so"
domains = ["localhost"]
`)