From aa5fcacb462d14014d9ab019a0ab89f89e45bf91 Mon Sep 17 00:00:00 2001 From: nightly Date: Fri, 14 Oct 2022 08:36:34 +0200 Subject: [PATCH] Change to use /Server instead of /Components --- Server/Webserver/Routes.js | 0 {Components => Server}/webserver.js | 4 ++-- index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 Server/Webserver/Routes.js rename {Components => Server}/webserver.js (98%) diff --git a/Server/Webserver/Routes.js b/Server/Webserver/Routes.js new file mode 100644 index 0000000..e69de29 diff --git a/Components/webserver.js b/Server/webserver.js similarity index 98% rename from Components/webserver.js rename to Server/webserver.js index 217030d..191789f 100644 --- a/Components/webserver.js +++ b/Server/webserver.js @@ -14,8 +14,8 @@ var site; // TODO: Add stuff for MySQL var connection = mysql.createConnection({ - host : '192.168.0.56', - user : 'mangosdemo', + host : '127.0.0.1', + user : 'demo', password : 'lqklvok', database : 'mangoshelfdb' }); diff --git a/index.js b/index.js index 8874219..4ce5ffe 100644 --- a/index.js +++ b/index.js @@ -1,2 +1,2 @@ -var rws = require("./Components/webserver.js"); +var rws = require("./Server/webserver.js"); rws(); \ No newline at end of file