Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
ikve2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
ikve2
Commits
6d38c373
Commit
6d38c373
authored
Feb 11, 2020
by
Ahmad Nemati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
d0616e03
Pipeline
#51
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
app.js
app.js
+4
-8
No files found.
app.js
View file @
6d38c373
...
...
@@ -3,9 +3,9 @@ let _ = require('lodash')
const
fs
=
require
(
'
fs
'
);
const
shellExec
=
require
(
'
shell-exec
'
)
const
cron
=
require
(
'
node-cron
'
);
let
express
=
require
(
'
express
'
);
let
app
=
express
();
let
server
=
require
(
'
http
'
).
createServer
(
app
);
const
express
=
require
(
'
express
'
)
const
app
=
express
()
const
port
=
3000
let
moment
=
require
(
'
moment-timezone
'
)
const
connectionString
=
'
postgresql://ibs:secretpassword@51.91.150.227:5432/IBSng
'
const
client
=
new
Client
({
...
...
@@ -14,12 +14,8 @@ const client = new Client({
let
arr
=
[]
server
.
listen
(
80
,
()
=>
{
})
app
.
listen
(
port
,
()
=>
console
.
log
(
`Example app listening on port
${
port
}
!`
))
app
.
get
(
'
/
'
,
(
req
,
res
)
=>
{
res
.
sendfile
(
'
config.mobileconfig
'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment