Fix jwt-token
This commit is contained in:
@@ -148,8 +148,9 @@ router.post('/logo-upload', authenticateToken, requirePermissions(['branding.edi
|
||||
}
|
||||
}
|
||||
|
||||
// Create logo URL
|
||||
const logoUrl = `/uploads/logos/${req.file.filename}`;
|
||||
// Create logo URL with base path support
|
||||
const basePath = process.env.VITE_BASE_PATH || '';
|
||||
const logoUrl = `${basePath}uploads/logos/${req.file.filename}`;
|
||||
|
||||
// Update tenant branding with new logo
|
||||
const updatedBranding = {
|
||||
|
||||
Reference in New Issue
Block a user