++ add Gestione dietro reverse proxy
This commit is contained in:
@@ -114,12 +114,6 @@ class Assegnazione extends Model
|
||||
]
|
||||
);
|
||||
|
||||
$publicBase = Setting::getValue('public_base_url');
|
||||
if ($publicBase) {
|
||||
$parsed = parse_url($url);
|
||||
$url = rtrim($publicBase, '/') . ($parsed['path'] ?? '') . (isset($parsed['query']) ? '?' . $parsed['query'] : '');
|
||||
}
|
||||
|
||||
return $url;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user