From 0b677716f5dbf7588a976b2ea8849619b1a0baf7 Mon Sep 17 00:00:00 2001 From: inkletblot Date: Fri, 28 Feb 2020 23:54:46 +1030 Subject: [PATCH] minor updates, changed running port and nav logic --- scripts/main.js | 3 --- server.js | 4 ++-- views/nav.html | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/scripts/main.js b/scripts/main.js index 3aed7c5..86e46f5 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -113,9 +113,6 @@ daddy.factory('stateData', function($cookies){ userNo : null, userName : null, userLevel : 0 - }, - content : { - gallery : null } } diff --git a/server.js b/server.js index 5410bf1..3522da9 100644 --- a/server.js +++ b/server.js @@ -5,14 +5,14 @@ let app = express() app.use(express.static('./')) app.use(cors({ - origin: "http://localhost:7001" + origin: "http://localhost:8600" })) app.get('/', (req, res) => { res.sendFile('./index.html') }) -let port = 7000 +let port = 8600 app.listen(port, () => { console.log("Listening on port "+port+"..."); diff --git a/views/nav.html b/views/nav.html index 04c3f0d..b0bfa46 100644 --- a/views/nav.html +++ b/views/nav.html @@ -3,8 +3,8 @@ - Categories > - Create a Category + Categories > + Create a Category