mirror of
https://github.com/archtechx/tenancy.git
synced 2026-03-22 13:14:03 +00:00
Merge branch 'archtechx:3.x' into 3.x
This commit is contained in:
commit
23e614f05b
3 changed files with 5 additions and 3 deletions
|
|
@ -15,6 +15,9 @@ class Vite extends BaseVite // todo move to a different directory in v4
|
|||
*/
|
||||
protected function assetPath($path, $secure = null)
|
||||
{
|
||||
return $this->assetPathResolver ? ($this->assetPathResolver)($path, $secure) : global_asset($path);
|
||||
// In Laravel 9, the property doesn't exist.
|
||||
return (isset($this->assetPathResolver) && $this->assetPathResolver)
|
||||
? ($this->assetPathResolver)($path, $secure)
|
||||
: global_asset($path);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue