Added / api call
This commit is contained in:
parent
241ebe07f2
commit
0029f528c1
1 changed files with 3 additions and 1 deletions
|
|
@ -87,7 +87,9 @@ app.post('/api/logout', (req, res) => {
|
|||
req.session.destroy(() => res.json({ success: true }));
|
||||
});
|
||||
|
||||
|
||||
app.get('/', (req, res) => {
|
||||
res.json({ Name: "TRX SHORTLINK API" });
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue