From 64a4a03e3a652f7e8253e3a827a3ee275b083b28 Mon Sep 17 00:00:00 2001 From: Paul Sarando Date: Mon, 11 Mar 2024 19:35:26 -0700 Subject: [PATCH] CORE-1967 Allow anonymous access in /filesystem/metadata endpoints --- src/server/api/metadata.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/server/api/metadata.js b/src/server/api/metadata.js index a46d0516f..a12bc32ed 100644 --- a/src/server/api/metadata.js +++ b/src/server/api/metadata.js @@ -25,7 +25,7 @@ export default function metadataRouter() { auth.authnTokenMiddleware, terrainHandler({ method: "GET", - pathname: "/secured/filesystem/metadata/templates", + pathname: "/filesystem/metadata/templates", }) ); @@ -37,7 +37,7 @@ export default function metadataRouter() { auth.authnTokenMiddleware, terrainHandler({ method: "GET", - pathname: "/secured/filesystem/metadata/template/:templateId", + pathname: "/filesystem/metadata/template/:templateId", }) ); @@ -56,7 +56,7 @@ export default function metadataRouter() { auth.authnTokenMiddleware, terrainHandler({ method: "GET", - pathname: "/secured/filesystem/:dataId/metadata", + pathname: "/filesystem/:dataId/metadata", }) ); @@ -66,7 +66,7 @@ export default function metadataRouter() { auth.authnTokenMiddleware, terrainHandler({ method: "POST", - pathname: "/secured/filesystem/:dataId/metadata", + pathname: "/filesystem/:dataId/metadata", headers: { "Content-Type": "application/json", }, @@ -81,7 +81,7 @@ export default function metadataRouter() { auth.authnTokenMiddleware, terrainHandler({ method: "POST", - pathname: "/secured/filesystem/:dataId/metadata/save", + pathname: "/filesystem/:dataId/metadata/save", headers: { "Content-Type": "application/json", }, @@ -94,7 +94,7 @@ export default function metadataRouter() { auth.authnTokenMiddleware, terrainHandler({ method: "POST", - pathname: "/secured/filesystem/metadata/csv-parser", + pathname: "/filesystem/metadata/csv-parser", headers: { "Content-Type": "application/json", },