Skip to content

Conversation

panteliymas
Copy link

When a site is located in subdirectory but not the root folder (site.com/sub/ and not the site.com/) async widgets will send request to root (site.com/arrilot/load-widget and not site.com/sub/arrilot/load-widget) so widgets are not loaded. I changed ajaxLink property of JavascriptFactory to be absolu url that is generated by laravel automatically (e.g. from .env with APP_URL)

When a site is located in subdirectory but not the root folder (site.com/sub/ and not the site.com/) async widgets will send request to root (site.com/arrilot/load-widget and not site.com/sub/arrilot/load-widget) so widgets are not loaded.
I changed ajaxLink property of JavascriptFactory to be absolu url that is generated by laravel automatically (e.g. from .env with APP_URL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant