I’m seeing some odd behavior while setting up a custom route and basicAuth for my website.
Background: On this page, I generate a custom cache when fetching content from an API via a page model, similar to this: Merging content sources | Kirby CMS
To clear the cache, I wanted to set up a custom route that can be called by a cron job.
Update:
I investigated a bit further and found that the name “intern” from the error message The account "intern" was not found comes from the user of my htpasswd account
since I’m deploying the same branch for testing on both dev and live (I test it on dev first, then on live), I think having an extra plugin only for the dev page isn’t ideal for my case.
For now I I think, I just disable the htpasswd since there is no sensitive content on the dev page.
since this doesn’t work I’m a bit lost here.
Suspicious, that locally everything works flawless.