summaryrefslogtreecommitdiff
path: root/routes/routes.js
diff options
context:
space:
mode:
authorfahimkhan2016-10-05 12:27:42 +0530
committerfahimkhan2016-10-05 12:27:42 +0530
commitee86f774ae300e18ab92ad56a5bfdcc20cb6748f (patch)
treeb89632c43df32ee682d0985c945632c0866a982c /routes/routes.js
parent912e009e7131f95077026b6045ee16909e2504f8 (diff)
downloadOnline-NgSpice-Simulator-ee86f774ae300e18ab92ad56a5bfdcc20cb6748f.tar.gz
Online-NgSpice-Simulator-ee86f774ae300e18ab92ad56a5bfdcc20cb6748f.tar.bz2
Online-NgSpice-Simulator-ee86f774ae300e18ab92ad56a5bfdcc20cb6748f.zip
Change url setting
Diffstat (limited to 'routes/routes.js')
-rw-r--r--routes/routes.js6
1 files changed, 3 insertions, 3 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'});
});