Corrige overflow del layout y autenticación de la API de proyectos

This commit is contained in:
Marlene-Angel
2025-12-22 13:00:53 -08:00
parent 1519548c90
commit 25da09352d
4 changed files with 23 additions and 15 deletions

View File

@@ -3,8 +3,9 @@ export const PROJECTS_API_URL = `${API_BASE_URL}/api/v3/data/ppfu31vhv5gf6i0/m05
const API_TOKEN = import.meta.env.VITE_API_TOKEN;
export const getAuthHeaders = () => ({
Authorization: `Bearer ${API_TOKEN}`,
"Content-Type": "application/json",
"xc-token": API_TOKEN, // NocoDB style
Authorization: `Bearer ${API_TOKEN}`, // fallback por si el backend usa Bearer
});
export interface ProjectRecord {