Oops, the domain name wasn't visible to the model code. But we don't want a redundant settings. Solution: admin-editable settings belong in settings.js. Logic that massages the settings, for instance by copying the domain setting down into settings.db, belongs in config.js.