mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 10:34:04 +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
|
|
@ -1,5 +1,5 @@
|
||||||
# add amd64 platform to support Mac M1
|
# add amd64 platform to support Mac M1
|
||||||
FROM --platform=linux/amd64 shivammathur/node:latest-amd64
|
FROM --platform=linux/amd64 shivammathur/node:jammy-amd64
|
||||||
|
|
||||||
ARG PHP_VERSION=8.1
|
ARG PHP_VERSION=8.1
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
version: '2.4'
|
|
||||||
services:
|
services:
|
||||||
test:
|
test:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,9 @@ class Vite extends BaseVite // todo move to a different directory in v4
|
||||||
*/
|
*/
|
||||||
protected function assetPath($path, $secure = null)
|
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