summaryrefslogtreecommitdiff
path: root/routes/routes.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes/routes.js')
-rw-r--r--routes/routes.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/routes/routes.js b/routes/routes.js
index e20ae07..6889f74 100644
--- a/routes/routes.js
+++ b/routes/routes.js
@@ -10,6 +10,11 @@ module.exports = function(express,app,fs,os,io,PythonShell,scriptPath){
});
+ router.get('/index',function(req,res,next){
+ res.render('index',{host:app.get('host'),title:'Ngspice Simulator'});
+
+ });
+
/*About Page*/
router.get('/about',function(req,res,next){
res.render('about',{title:'Ngspice Simulator'});