aboutsummaryrefslogtreecommitdiff
path: root/backend/tilo.py
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-07-11 01:54:08 +1000
committerTerry Truong <terry06890@gmail.com>2022-07-11 01:54:08 +1000
commit5fe71ea7b9d9a5d2dc6e8e5ce5b9193629eed74d (patch)
tree3b8b9d7299540a812ec93e224f8fc71249a98860 /backend/tilo.py
parenta8f80a02b88055cfcb45664ce3a3d24c2b2da98c (diff)
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.
Diffstat (limited to 'backend/tilo.py')
-rwxr-xr-xbackend/tilo.py2
1 files changed, 1 insertions, 1 deletions
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"