We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 73b6b00 + 7039929 commit 1f0bf47Copy full SHA for 1f0bf47
frontend/src/api/client.ts
@@ -9,6 +9,7 @@ const BASE_URL = isSsr()
9
const LOGIN_PATH = "/auth/login";
10
const PREVIOUS_URL_KEY = 'previous_url';
11
12
+// todo - This isn't scalable, we need to better way to manage this
13
const ALLOWED_UNAUTHENTICATED_PATHS = [
14
'auth/login',
15
'accept-invitation',
@@ -18,7 +19,9 @@ const ALLOWED_UNAUTHENTICATED_PATHS = [
18
19
'account/payment',
20
'checkout',
21
'/event/',
- 'widget'
22
+ 'print',
23
+ '/order/',
24
+ 'widget',
25
];
26
27
export const api = axios.create({
0 commit comments