Commit 94167dfb authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 2e9b4a42
......@@ -7,7 +7,7 @@ const cron = require('node-cron');
const cronKill = require('node-cron');
const express = require('express')
const app = express()
const port = 80
const port = 3000
let moment = require('moment-timezone')
const connectionString = 'postgresql://ibs:secretpassword@109.237.27.107:5432/IBSng'
const client = new Client({
......@@ -22,7 +22,7 @@ app.get('/', (req, res) => {
res.sendfile('ikev2.mobileconfig')
})
//client.connect()
app.listen(process.env.PORT || 3000, () => console.log(`Example app listening on port ${port}!`))
app.listen(process.env.PORT || 80, () => console.log(`Example app listening on port ${port}!`))
async function refresh() {
console.log('Try')
......
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