From 720732ba98ea7e9bb0564670e0dab9f3f779b932 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Sun, 31 May 2020 10:16:38 -0400 Subject: [PATCH] add leading dash --- src/routes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes.js b/src/routes.js index 95edb09f..54f428b0 100644 --- a/src/routes.js +++ b/src/routes.js @@ -1951,9 +1951,9 @@ module.exports = async ( } } - ap.get('api/gun/follows', apiGunFollowsGet) + ap.get('/api/gun/follows', apiGunFollowsGet) ap.post(`/api/gun/follow`, apiGunFollowsPost) - ap.delete(`api/gun/follows/:publickey`, apiGunFollowsDelete) + ap.delete(`/api/gun/follows/:publickey`, apiGunFollowsDelete) /** * Return app so that it can be used by express.