summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>