1
0
Fork 0
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:
Leandro Gehlen 2024-06-28 13:50:58 -03:00 committed by GitHub
commit 23e614f05b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View file

@ -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);
}
}