diff --git a/JS/Inventory/1000.xlsx b/ExcelReader/Inventory/1000.xlsx similarity index 100% rename from JS/Inventory/1000.xlsx rename to ExcelReader/Inventory/1000.xlsx diff --git a/JS/Inventory/1001.xlsx b/ExcelReader/Inventory/1001.xlsx similarity index 100% rename from JS/Inventory/1001.xlsx rename to ExcelReader/Inventory/1001.xlsx diff --git a/JS/Inventory/1234.xlsx b/ExcelReader/Inventory/1234.xlsx similarity index 100% rename from JS/Inventory/1234.xlsx rename to ExcelReader/Inventory/1234.xlsx diff --git a/JS/dbtools.js b/ExcelReader/dbtools.js similarity index 100% rename from JS/dbtools.js rename to ExcelReader/dbtools.js diff --git a/JS/excelreader.js b/ExcelReader/excelreader.js similarity index 100% rename from JS/excelreader.js rename to ExcelReader/excelreader.js diff --git a/JS/system.js b/ExcelReader/system.js similarity index 100% rename from JS/system.js rename to ExcelReader/system.js diff --git a/JS/index.js b/Webserver/index.js similarity index 78% rename from JS/index.js rename to Webserver/index.js index dd48cd0..f15a4b3 100644 --- a/JS/index.js +++ b/Webserver/index.js @@ -1,6 +1,7 @@ const express = require('express', '4.17.1'); const fs = require('fs'); -dbtools = require('./dbtools'); +const Path = require('path'); +dbtools = require(Path.join(__dirname, '..', 'ExcelReader', 'dbtools.js')); const app = express(); const port = 3000;