Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
Fix ticket print URL redirecting to login page
Dave Earley64bccee3ac26
diff --git a/frontend/src/api/client.ts b/frontend/src/api/client.tsindex e3df25b2a..e2deafb9a 100644--- a/frontend/src/api/client.ts+++ b/frontend/src/api/client.ts@@ -9,6 +9,7 @@ const BASE_URL = isSsr()const LOGIN_PATH = "/auth/login";const PREVIOUS_URL_KEY = 'previous_url';+// todo - This isn't scalable, we need to better way to manage thisconst ALLOWED_UNAUTHENTICATED_PATHS = ['auth/login','accept-invitation',@@ -17,7 +18,9 @@ const ALLOWED_UNAUTHENTICATED_PATHS = ['auth','account/payment','checkout',- '/event/'+ '/event/',+ 'print',+ '/order/'];export const api = axios.create({