Laravel error with JS?

Hello guys i need your lights on something. We are building a project in laravel and for test purposes we test it on different enviroments. (Obviously on local pc working correctly!)

Enviroment 1(dockerized): https://billing.pstoregr.dev/
(works as expected)

Enviroment 2(plesk cp): https://liakos.igf.gr/
(works as expected)

Enviroment 3(hestiacp): https://bpbilling.bytespulse.com/
(its like js doesnt work at all…)

If you are trying on all sites to change from light to dark it works but on Hestiacp (enviroment 3) it doesnt… any thoughts about it?

All enviroments works with nginx not apache at all.

Add:

to both template files

2 Likes

Thank you very much, was trying to figure out on nginx template with no luck. Do you know if this is the correct solution or the app should have a setting or something so nginx can work without edit?

I am asking because if a client take the app and he has a simple hosting package from somewhere he need to ask from the support to make the changes etc.

If he is using nginx only see still needs some kind of config for it…

Otherwise use Apache2

1 Like

Thank you again for your fast replies!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.