Fix jwt-token

This commit is contained in:
2025-09-20 06:25:08 +02:00
parent 261a5032a1
commit 04d15485bf
2 changed files with 2 additions and 4 deletions

View File

@@ -148,9 +148,8 @@ router.post('/logo-upload', authenticateToken, requirePermissions(['branding.edi
}
}
// Create logo URL with base path support
const basePath = process.env.VITE_BASE_PATH || '';
const logoUrl = `${basePath}uploads/logos/${req.file.filename}`;
// Create logo URL
const logoUrl = `/uploads/logos/${req.file.filename}`;
// Update tenant branding with new logo
const updatedBranding = {