Changed path for posting new urls

This commit is contained in:
Nicolai Ort 2021-08-14 08:55:40 +02:00
parent fc84dde534
commit a6397f01d1
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ const newUrlSchema = {
};
//Create new url route
fastify.post('/new', { newUrlSchema }, async (req, res) => {
fastify.post('/api/new', { newUrlSchema }, async (req, res) => {
const target = req.body?.target;
let shortcode = req.body?.shortcode;