diff options
| author | herkulessi <git@herkulessi.de> | 2026-06-25 17:14:20 +0200 |
|---|---|---|
| committer | herkulessi <git@herkulessi.de> | 2026-06-25 17:14:20 +0200 |
| commit | 9b276b4b009e6655dd0582fd3fb89002be2a299c (patch) | |
| tree | 6e576ed68af432dd42708c8496ba36954be329f1 | |
| parent | 3a635fc9dd92e91ce731abe815cde966a0e38553 (diff) | |
| -rw-r--r-- | db.go | 2 | ||||
| -rw-r--r-- | templates.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -24,7 +24,7 @@ func (w *Webpage) NewMigrations(static embed.FS, dynamic fs.FS) *Webpage { return w } func (w *Webpage) getMigrationRoot() fs.FS { - if w.isDynamic() { + if w.IsDynamic() { return w.migrations.dynamicRoot } return w.migrations.staticRoot diff --git a/templates.go b/templates.go index 408085c..31fe48a 100644 --- a/templates.go +++ b/templates.go @@ -18,7 +18,7 @@ type templates struct { } func (w *Webpage) getTemplateRoot() fs.FS { - if w.isDynamic() { + if w.IsDynamic() { return w.templates.dynamicRoot } return w.templates.staticRoot |
