summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfahimkhan2016-10-05 12:27:42 +0530
committerfahimkhan2016-10-05 12:27:42 +0530
commitee86f774ae300e18ab92ad56a5bfdcc20cb6748f (patch)
treeb89632c43df32ee682d0985c945632c0866a982c
parent912e009e7131f95077026b6045ee16909e2504f8 (diff)
downloadOnline-NgSpice-Simulator-ee86f774ae300e18ab92ad56a5bfdcc20cb6748f.tar.gz
Online-NgSpice-Simulator-ee86f774ae300e18ab92ad56a5bfdcc20cb6748f.tar.bz2
Online-NgSpice-Simulator-ee86f774ae300e18ab92ad56a5bfdcc20cb6748f.zip
Change url setting
-rw-r--r--routes/routes.js6
-rw-r--r--views/header.html8
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 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- <a class="navbar-brand" href="/index">Online Simulator</a>
+ <a class="navbar-brand" href="/ngspice/index">Online Simulator</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<ul class="nav navbar-nav">
- <li><a href="/index">Home</a></li>
- <li><a href="/about">About</a></li>
- <li><a href="/contact">Contact</a></li>
+ <li><a href="/ngspice/index">Home</a></li>
+ <li><a href="/ngspice/about">About</a></li>
+ <li><a href="/ngspice/contact">Contact</a></li>
</ul>
<!-- <ul class="nav navbar-nav navbar-right">
<li><a href="#"><span class="glyphicon glyphicon-user"></span> Sign Up</a></li>