feat: serve the student app from the plugin

This commit is contained in:
Jakub Zych
2026-10-02 14:43:02 +02:00
parent 5106239c97
commit 21107e9804
7 changed files with 491 additions and 0 deletions

View File

@@ -46,6 +46,9 @@ var adminFS embed.FS
// (Bezpieczeństwo międzynarodowe) master's programme.
type Plugin struct {
app *backpack.App
// publicFS is the tree of the student app. Nil means the embedded
// public/ directory; tests plant their own.
publicFS fs.FS
}
func (p *Plugin) ID() string { return "jz.bm" }