Fix: Plex errors #141

Merged
KevinMidboe merged 13 commits from fix/plex-errors into master 2022-08-25 15:28:29 +00:00
2 changed files with 9 additions and 1 deletions
Showing only changes of commit 3af27af7bb - Show all commits

View File

@@ -1,7 +1,11 @@
import path from "path";
import Field from "./field";
import { fileURLToPath } from "url";
import Field from "./field.js";
let instance = null;
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
class Config {
constructor() {

View File

@@ -1,6 +1,10 @@
import fs from "fs";
import path from "path";
import sqlite3 from "sqlite3";
import { fileURLToPath } from "url";
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
class SqliteDatabase {
constructor(host) {