1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 09:34:04 +00:00

Merge remote-tracking branch 'origin/merge-3.x'

This commit is contained in:
Samuel Štancl 2024-02-10 23:02:12 +01:00
commit fe4ee6336f
2 changed files with 23 additions and 1 deletions

View file

@ -25,7 +25,7 @@ jobs:
- name: Install Composer dependencies - name: Install Composer dependencies
run: | run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update composer require "laravel/framework:^${{ matrix.laravel }}.0" --no-interaction --no-update
composer update --prefer-dist --no-interaction composer update --prefer-dist --no-interaction
- name: Run tests - name: Run tests
run: ./vendor/bin/pest run: ./vendor/bin/pest

22
src/Vite.php Normal file
View file

@ -0,0 +1,22 @@
<?php
declare(strict_types=1);
namespace Stancl\Tenancy;
use Illuminate\Foundation\Vite as BaseVite;
class Vite extends BaseVite // todo move to a different directory in v4
{
/**
* Generate an asset path for the application.
*
* @param string $path
* @param bool|null $secure
* @return string
*/
protected function assetPath($path, $secure = null)
{
return global_asset($path);
}
}