API configuration

Iconify API configuration is stored in two files:

  • config.default.json - this is where default configuration values are
  • config.json - this is where custom configuration values are

Do not edit config.default.json! It might be overwritten during update.

All custom configuration values should be put in config.json

What if you cannot find config.json? Create it. You can either create empty JSON file with { } in it or you can copy config.default.json

Configuration is slightly different for PHP and Node.js versions of API. Node.js is asynchronous application that is started only once and handles all requests, PHP is synchronous script that starts for each HTTP request.

To see configuration options for API, see config.md in appropriate GitHub repository: