Can't override url in config.php on localhost

Recreated with plainkit 3.9.1, already tried to describe here: https://forum.getkirby.com/t/panel-blank-www-subomain-ionos-hosting/25058/5?u=stffr

Test Installation is in http://localhost/plainkit-main/

When I set my url in config/config.php, it works like intended

  return [
    'url' => 'https://www.test.de',
  ];

$site->url() is now https://www.test.de
But when I want to override the url with my config/config.localhost.php it doesn’t work.

  return [
    'url' => 'https://www.test2.de',
  ];

$site->url() still is https://www.test.de.
When I remove the url option in config/config.php however, the $site->url() changes to https://www.test2.de.

From my understanding the config.localhost.php url option should overwrite the config.php url option on localhost, shouldn’t it? Am I missing something?

Thanks :slight_smile: