mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Fix support for hot reloading without requiring anything special in the app
This commit is contained in:
@@ -60,7 +60,7 @@ class AssetHashService
|
||||
$file = last(explode('/', $resource));
|
||||
$data = array_get($this->manifest(), $file, $file);
|
||||
|
||||
return '/' . ltrim(str_replace($file, array_get($data, 'src', $file), $resource), '/');
|
||||
return str_replace($file, array_get($data, 'src', $file), $resource);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user