From 5fe71ea7b9d9a5d2dc6e8e5ce5b9193629eed74d Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Mon, 11 Jul 2022 01:54:08 +1000 Subject: Make backend dev server script serve the image files Previously, image files in backend/data/img were moved to, or symlinked from, public/. This needed to be changed before each build, otherwise vite would end up copying gigabytes of images. --- backend/tilo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/tilo.py') diff --git a/backend/tilo.py b/backend/tilo.py index f2a177e..7b0f8aa 100755 --- a/backend/tilo.py +++ b/backend/tilo.py @@ -5,7 +5,7 @@ import urllib.parse import sqlite3 import gzip, jsonpickle -dbFile = "data/data.db" +dbFile = "tolData/data.db" DEFAULT_SUGG_LIM = 5 MAX_SUGG_LIM = 50 ROOT_NAME = "cellular organisms" -- cgit v1.2.3