Commit 82503fa5 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent cab1f5bc
...@@ -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

20.1 KB

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