X-Git-Url: https://git.openstreetmap.org/dns.git/blobdiff_plain/2be0aa31e74d747f8fcf891a4365772dc7a0abb7..d863d6b7d7a75e49d933da0e932d74de7c9fed49:/dnsconfig.js diff --git a/dnsconfig.js b/dnsconfig.js index 3f395c6..eea20be 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -29,11 +29,15 @@ require("src/hosts.js"); var OPENSTREETMAP = loadTemplate("openstreetmap"); require("include/sshfp.js"); -require("include/tile.js"); -require("include/render.js"); require("include/nominatim.js"); -OPENSTREETMAP("openstreetmap.org", REG_GANDI, SSHFP_RECORDS, TILE_RECORDS, RENDER_RECORDS, NOMINATIM_RECORDS); +try { + require("include/geo.js"); +} catch (e) { + var GEO_NS_RECORDS = []; +} + +OPENSTREETMAP("openstreetmap.org", REG_GANDI, SSHFP_RECORDS, GEO_NS_RECORDS, NOMINATIM_RECORDS); OPENSTREETMAP("openstreetmap.com", REG_GANDI); OPENSTREETMAP("openstreetmap.net", REG_GANDI); OPENSTREETMAP("openstreetmap.ca", REG_GANDI);