diff --git a/python/tagserver.py b/python/tagserver.py index d0140e9..48b7a18 100644 --- a/python/tagserver.py +++ b/python/tagserver.py @@ -32,7 +32,7 @@ def main(): db.commit() db.close() - PLC_IP_ADDRESS = "192.168.1.10" # MAKE THIS A db VALUE + PLC_IP_ADDRESS = "10.10.10.3" # MAKE THIS A db VALUE scan_rate = 10 tagList = []; diff --git a/www/functions_SQLite.js b/www/functions_SQLite.js index 452eef7..6d9e2d5 100644 --- a/www/functions_SQLite.js +++ b/www/functions_SQLite.js @@ -1,4 +1,4 @@ -var dbFile = "/mnt/usb/data.db" +var dbFile = "/usr/db/data.db" // app.get('/json/add/:tag', fns.addTag); // Adds a tag to the scan list // app.get('/json/remove/:tag', fns.removeTag); // Removes a tag from the scan list // app.get('/json/val/:tag', fns.latestTagValue); // Gets the latest value of a single tag