public
/
nick_site.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb6f177
)
Quick fix for bug of accidentally sharing database between sites
author
Nick Downing
<nick@ndcode.org>
Mon, 31 Jan 2022 05:20:39 +0000
(
00:20
-0500)
committer
Nick Downing
<nick@ndcode.org>
Sat, 12 Feb 2022 01:53:36 +0000
(12:53 +1100)
_config/site.jst
patch
|
blob
|
history
diff --git
a/_config/site.jst
b/_config/site.jst
index
a346221
..
5c0194c
100644
(file)
--- a/
_config/site.jst
+++ b/
_config/site.jst
@@
-24,7
+24,7
@@
return async (resources, root, prev_site) => {
assert(this.database === undefined)
this.database = await this.resources.ref(
-
'database'
,
+
`database:${this.root}`
,
async () => {
let database = new logjson.Database()
await database.open(this.root + '/database.logjson')