I have installed the Laravel in sub-folder and is trying to install the horizon. After routing to "test.com/sub-folder/horizon", all the design in broken and also the internal links are pointing to main domain instead of main-domain-without-subfolder.
After the search, it seems to be the known issue which is already reported in github issue
Has there is any work around to make horizon work when Laravel is installed in sub-folder?
If you desperately need to do this, here is a hack:
public\vendor\horizon\app.js, search forwindow.Horizon.basePathwindow.Horizon.basePath="/"+window.Horizon.path;withwindow.Horizon.basePath="/[you sub-directoy]/"+window.Horizon.path;It should work...until you run update one day and it mysteriously stop working.