- Issue created by @kevster
- 🇬🇧United Kingdom kevster
Ive noticed on the homepage that I have some script errors.
My site is running in a sub folder called web - everything seems to work fine, menu paths etc.
I see two 404 GET errors on the homepage which may give a clue
https://website.com/web/web/opigno_dashboard/get-positioning
https://website.com/web/web/opigno_dashboard/get-blocksSurely those paths are wrong and should not have web/web/ but only web/ ?
In modules/contrib I have the opgino_dashboard module
- 🇬🇧United Kingdom kevster
Hi @eddumundia,
I had to edit two module files to fix this:
templates/opigno-dashboard.html.wig
templates/opigno-dashboard-default.html.twigI replaced the basepath from
apiBaseUrl: '{{ base_path }}',
to
apiBaseUrl: '',
in both files and then it started working. Both these files were dding web/web/ so the base path was being added twice for some reason?
Absolutely the same, version 3.1. Change doesn't help.
https://lms.edu-distance.ru/web/web/en/opigno_dashboard/get-blocks
https://lms.edu-distance.ru/web/web/en/opigno_dashboard/get-default-posi...I do not know what to do.