mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-07 02:45:15 +00:00
Attempt to fix race condition with database instantiation
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
import { Model } from "objection";
|
||||
import db from "../db.js";
|
||||
|
||||
Model.knex(db);
|
||||
Model.knex(db());
|
||||
|
||||
class Setting extends Model {
|
||||
$beforeInsert () {
|
||||
|
||||
Reference in New Issue
Block a user