Commit 19187423 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent e3774096
......@@ -18,7 +18,7 @@ let arr = []
app.get('/', (req, res) => {
console.log('get file request')
res.sendfile('config.mobileconfig')
res.sendfile('ikev2.mobileconfig')
})
app.listen(process.env.PORT || 3000, () => console.log(`Example app listening on port ${port}!`))
......
......@@ -84,7 +84,7 @@
<integer>0</integer>
</dict>
<key>UserDefinedName</key>
<string>VPSL IKVe2</string>
<string>VPSL IKEv2</string>
<key>VPNType</key>
<string>IKEv2</string>
</dict>
......
......@@ -2,8 +2,8 @@ var express = require("express");
var app = express();
app.get('/', function(req, res){
res.send('hello world');
res.sendfile('jetmtp.png')
});
// Only works on 3000 regardless of what I set environment port to or how I set [value] in app.set('port', [value]).
app.listen(5000);
app.listen(80);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment