summaryrefslogtreecommitdiff
path: root/db.go
diff options
context:
space:
mode:
authorherkulessi <git@herkulessi.de>2026-06-25 17:14:20 +0200
committerherkulessi <git@herkulessi.de>2026-06-25 17:14:20 +0200
commit9b276b4b009e6655dd0582fd3fb89002be2a299c (patch)
tree6e576ed68af432dd42708c8496ba36954be329f1 /db.go
parent3a635fc9dd92e91ce731abe815cde966a0e38553 (diff)
Use (now public) isDynamic function in db and templatingHEADprod
Diffstat (limited to 'db.go')
-rw-r--r--db.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/db.go b/db.go
index d8648b0..e673344 100644
--- a/db.go
+++ b/db.go
@@ -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