From ee86f774ae300e18ab92ad56a5bfdcc20cb6748f Mon Sep 17 00:00:00 2001 From: fahimkhan Date: Wed, 5 Oct 2016 12:27:42 +0530 Subject: Change url setting --- routes/routes.js | 6 +++--- views/header.html | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/routes/routes.js b/routes/routes.js index 6889f74..a372e1c 100644 --- a/routes/routes.js +++ b/routes/routes.js @@ -10,18 +10,18 @@ module.exports = function(express,app,fs,os,io,PythonShell,scriptPath){ }); - router.get('/index',function(req,res,next){ + router.get('/ngspice/index',function(req,res,next){ res.render('index',{host:app.get('host'),title:'Ngspice Simulator'}); }); /*About Page*/ - router.get('/about',function(req,res,next){ + router.get('/ngspice/about',function(req,res,next){ res.render('about',{title:'Ngspice Simulator'}); }); /*Contact Page*/ - router.get('/contact',function(req,res,next){ + router.get('/ngspice/contact',function(req,res,next){ res.render('contact',{title:'Ngspice Simulator'}); }); diff --git a/views/header.html b/views/header.html index 3a6d38d..bf45cd9 100644 --- a/views/header.html +++ b/views/header.html @@ -7,13 +7,13 @@ - Online Simulator + Online Simulator