Move generated files to the data folder to persist on docker

This commit is contained in:
ovosimpatico
2024-10-27 22:26:21 -03:00
parent 7a21d8989c
commit 6a36b1e15d
4 changed files with 24 additions and 18 deletions

View File

@@ -11,8 +11,8 @@ import debugPrint from "./lib/debugprint.js";
import compression from "compression";
import { generateAsciiArt } from './lib/asciiart.js';
let fileListPath = "./filelist.json";
let queryCountFile = "./queries.txt";
let fileListPath = "./data/filelist.json";
let queryCountFile = "./data/queries.txt";
let categoryListPath = "./lib/categories.json"
let searchAlikesPath = './lib/searchalikes.json'
let categoryList = await FileHandler.parseJsonFile(categoryListPath);