refactor: Standardize user and organization ID properties, update Vite proxy port, and refactor data sheet file serving.

This commit is contained in:
2026-03-19 22:05:47 +00:00
parent 0b81094050
commit 37cc1b2acb
10 changed files with 50 additions and 43 deletions

View File

@@ -34,7 +34,7 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ children
const fetchTokenAndUser = async () => {
if (isAuthenticated) {
try {
const accessToken = await getAccessToken();
const accessToken = await getAccessToken(import.meta.env.VITE_LOGTO_RESOURCE || 'https://gpi.reifonas.cloud/api');
if (accessToken) {
setToken(accessToken);
setApiToken(accessToken);