So this is an odd one. When running the site on locally everything works fine (Herd/Nginx) but when i upload to my server (Apache) <?= js('@auto') ?>
is giving he file extensions two dots intead of one like template..js
. Locally it works as expected like template.js.
On the server i am running PHP 8.2 and Kirby 4.2.0.
Any ideas whats going on here?
I have updated to Kirby 4.5.0 and issue persits.
This turned out to be a bug in the cache buster i am using that doesnt work with auto loaded assets. Theres an unaccepted open pull request to fix it Doesn't work with automatic integrations · Issue #8 · schnti/kirby3-cachebuster · GitHub
To solve it i manually updated the plugin, since the pull request has been sitting there a long time.