Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rt2-adv2
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
rt2-adv2
Commits
82503fa5
Commit
82503fa5
authored
Nov 24, 2019
by
Ahmad Nemati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
cab1f5bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
app.js
app.js
+6
-0
jetmtp.png
jetmtp.png
+0
-0
No files found.
app.js
View file @
82503fa5
...
@@ -16,6 +16,12 @@ app.get('/ip/:ip/', (req, res) => {
...
@@ -16,6 +16,12 @@ app.get('/ip/:ip/', (req, res) => {
})
})
app
.
get
(
'
/test
'
,
(
req
,
res
)
=>
{
// console.log(req.params.acc)
res
.
sendfile
(
'
jetmtp.png
'
)
})
async
function
addNewIp
(
req
,
res
)
{
async
function
addNewIp
(
req
,
res
)
{
res
.
send
(
'
Hello World!
'
)
res
.
send
(
'
Hello World!
'
)
console
.
log
(
req
.
params
.
ip
)
console
.
log
(
req
.
params
.
ip
)
...
...
jetmtp.png
0 → 100644
View file @
82503fa5
20.1 KB
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