Hasnayeen / themes

Themes for Filament panels.
MIT License
217 stars 30 forks source link

[Bug]: 403 Forbidden Error on Subdomain #59

Open robiokidenis opened 2 months ago

robiokidenis commented 2 months ago

What happened?

When accessing the /themes/ path under the subdomain sub.example.com, a 403 Forbidden error is encountered. However, the same path works correctly when accessed under the main domain example.com within the /admin/ directory.

The Filament panel is set up to use a subdomain as follows:

class AppPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel

        ....
        ->domain('sub.example.com')
 ]);
    }
}

How to reproduce the bug

  1. Navigate to sub.example.com/themes/:
  1. Navigate to example.com/admin/themes/:

Package Version

3.0

Filament Version

3.2

PHP Version

8.2

Laravel Version

11.9

Notes

image
tsegkos commented 1 month ago

did you find any solution to this?