From e9e39940da6e749a699fa8c624a8856b71e37dec Mon Sep 17 00:00:00 2001 From: Nick Downing Date: Tue, 11 Jan 2022 11:53:35 +1100 Subject: [PATCH] Fix directory bug in rotating /database.logjson --- _config/site.jst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_config/site.jst b/_config/site.jst index 8944a3f..27a7a5f 100644 --- a/_config/site.jst +++ b/_config/site.jst @@ -74,7 +74,9 @@ return async (resources, root, prev_site) => { '->', new_database_date ) - await this.database.rotate('database.logjson.' + this.database_date) + await this.database.rotate( + `${this.root}/database.logjson.${this.database_date}` + ) this.database_date = new_database_date } -- 2.34.1