From be1332b4f3c7cfacdcd23628a0414fa795ae3fc9 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Mon, 7 Nov 2022 17:57:21 -0500 Subject: [PATCH] fix(striker-ui-api): prioritize /host/connection over /host/:hostUUID --- striker-ui-api/src/routes/host.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/striker-ui-api/src/routes/host.ts b/striker-ui-api/src/routes/host.ts index 47e42c50..3618deb4 100644 --- a/striker-ui-api/src/routes/host.ts +++ b/striker-ui-api/src/routes/host.ts @@ -11,8 +11,8 @@ const router = express.Router(); router .get('/', getHost) - .get('/:hostUUID', getHostDetail) .get('/connection', getHostConnection) + .get('/:hostUUID', getHostDetail) .post('/', createHost); export default router;