Page MenuHomeSoftware Heritage

Web API URL setting in configuration file ignored
Closed, MigratedEdits Locked

Description

$ cat ~/.config/swh/global.yml
swh:
  fuse:
    web-api:
      url: "https://archive.internal.softwareheritage.org/api/1/"

according to the config doc this should work, but it doesn't, all my requests are nonetheless directed to the public Web API (I'm sure of this due to T2709#51145), where I've quickly hit the rate-limit.

Relatedly, it would be nice to log at start time the configuration settings that have actually been loaded, it will make debugging this kind of problems easier for end users.