Skip to content

Commit f7b4006

Browse files
committed
Added prefixes to the 'auth' and 'clem' routers
1 parent 02e8c19 commit f7b4006

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/murfey/server/api/auth.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525
logger = getLogger("murfey.server.api.auth")
2626

2727
# Set up router
28-
router = APIRouter(tags=["Authentication"])
28+
router = APIRouter(
29+
prefix="/auth",
30+
tags=["Authentication"],
31+
)
2932

3033

3134
class CookieScheme(HTTPBearer):

src/murfey/server/api/clem.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@
3131
logger = getLogger("murfey.server.api.clem")
3232

3333
# Create APIRouter class object
34-
router = APIRouter(tags=["Workflows: CLEM"])
34+
router = APIRouter(
35+
prefix="/workflow/clem",
36+
tags=["Workflows: CLEM"],
37+
)
3538

3639
# Valid file types
3740
valid_file_types = (

0 commit comments

Comments
 (0)