diff --git a/python/tagserver_SQLite.py b/python/tagserver_SQLite.py index 22c76fb..0213eee 100644 --- a/python/tagserver_SQLite.py +++ b/python/tagserver_SQLite.py @@ -12,7 +12,7 @@ from pycomm.ab_comm.clx import Driver as ClxDriver import logging # con = lite.connect("/usr/db/data.db") -con = lite.connect('/home/pi/data.db') +con = lite.connect('/mnt/usb/data.db') def readTag(addr, tag): diff --git a/www/functions_SQLite.js b/www/functions_SQLite.js index 599835c..5959ba0 100644 --- a/www/functions_SQLite.js +++ b/www/functions_SQLite.js @@ -1,5 +1,5 @@ // var dbFile = "/usr/db/data.db"; -var dbFile = "/home/pi/data.db"; +var dbFile = "/mnt/usb/data.db"; // var dbFile = '/Users/patrickjmcd/data.db'; exports.getAllTags = function(req, res){