diff options
author | fahimkhan | 2016-09-30 16:59:27 +0530 |
---|---|---|
committer | fahimkhan | 2016-09-30 16:59:27 +0530 |
commit | f54f5d58a5818e82284ba38e5cb1af4b629ba456 (patch) | |
tree | 7f46aa7035ece0eadb655f595dd1ead40e175c58 /app.js | |
parent | 8d35e38c3e7349d37f1332b56d5f28bcdf1fb7bf (diff) | |
download | Online-NgSpice-Simulator-f54f5d58a5818e82284ba38e5cb1af4b629ba456.tar.gz Online-NgSpice-Simulator-f54f5d58a5818e82284ba38e5cb1af4b629ba456.tar.bz2 Online-NgSpice-Simulator-f54f5d58a5818e82284ba38e5cb1af4b629ba456.zip |
Make static url proper for server
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ app.engine('html',ejs.renderFile); //Set Static public folder -app.use(express.static(path.join(__dirname,'public'))); +app.use('/static',express.static(path.join(__dirname,'public'))); //Set Port to run the app app.set('port',process.env.PORT||3000); |