feat: new tourment and add bot

This commit is contained in:
Lala, Shahd
2026-05-31 21:28:40 +00:00
parent bae4958776
commit e3b87a7a1a
29 changed files with 1771 additions and 85 deletions
+3 -2
View File
@@ -8,9 +8,10 @@ export const authInterceptor: HttpInterceptorFn = (req, next) => {
req.url.includes('/api/account/bots') ||
req.url.includes('/api/account/official-bots') ||
req.url.includes('/api/board/game') ||
req.url.includes('/api/challenge');
req.url.includes('/api/challenge') ||
req.url.includes('/api/tournament');
if (token && isProtectedEndpoint) {
if (token && isProtectedEndpoint && !req.headers.has('Authorization')) {
req = req.clone({
setHeaders: {
Authorization: `Bearer ${token}`