You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In production, the site is at /mech/ instead of being at / (configured in apache conf)
But wagtailautocomplete urls are still using / as the root URL.
For example, when an AutocompletePanel for choosing staff loads in production, it sends queries on this URL: https://mechweb2.centralindia.cloudapp.azure.com/admin/autocomplete/search/?query=&type=mechweb.StaffPage&exclude=
But it should send queries to this URL: https://mechweb2.centralindia.cloudapp.azure.com/mech/admin/autocomplete/search/?query=&type=mechweb.StaffPage&exclude=
Notice the extra /mech in the bottom URL.
In fact changing the root URL has led to many problems similar to this one. How to figure it out? Help will be much appreciated.
The text was updated successfully, but these errors were encountered:
In production, the site is at
/mech/
instead of being at/
(configured in apache conf)But wagtailautocomplete urls are still using
/
as the root URL.For example, when an AutocompletePanel for choosing staff loads in production, it sends queries on this URL:
https://mechweb2.centralindia.cloudapp.azure.com/admin/autocomplete/search/?query=&type=mechweb.StaffPage&exclude=
But it should send queries to this URL:
https://mechweb2.centralindia.cloudapp.azure.com/mech/admin/autocomplete/search/?query=&type=mechweb.StaffPage&exclude=
Notice the extra
/mech
in the bottom URL.In fact changing the root URL has led to many problems similar to this one. How to figure it out? Help will be much appreciated.
The text was updated successfully, but these errors were encountered: