From 210189e63e05d752ad2529f62eb9fac2471b5b0a Mon Sep 17 00:00:00 2001 From: Sean Sica <23294618+seansica@users.noreply.github.com> Date: Thu, 12 Sep 2024 09:55:46 -0400 Subject: [PATCH] fix: update default api root path --- src/config/defaults.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/defaults.ts b/src/config/defaults.ts index 2f12fd5..46446b4 100644 --- a/src/config/defaults.ts +++ b/src/config/defaults.ts @@ -2,7 +2,7 @@ export const DEFAULT_ENV = "dev"; export const DEFAULT_APP_ADDRESS = "0.0.0.0"; export const DEFAULT_APP_PORT = 5002; export const DEFAULT_MAX_CONTENT_LENGTH = 1000; -export const DEFAULT_API_ROOT_PATH = "api/v21"; +export const DEFAULT_API_ROOT_PATH = "/api/v21"; export const DEFAULT_API_ROOT_TITLE = "MITRE ATT&CK TAXII 2.1"; export const DEFAULT_API_ROOT_DESCRIPTION = "This API Root contains TAXII 2.1 REST API endpoints that serve MITRE ATT&CK STIX 2.1 data";