Changeset 15861 in josm


Ignore:
Timestamp:
2020-02-16T13:16:16+01:00 (3 months ago)
Author:
Don-vip
Message:

see #18599 - use configurable JOSM website URL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Tag2Link.java

    r15858 r15861  
    2222import org.openstreetmap.josm.data.osm.OsmUtils;
    2323import org.openstreetmap.josm.io.CachedFile;
     24import org.openstreetmap.josm.spi.preferences.Config;
    2425
    2526/**
     
    7273        try {
    7374            wikidataRules.clear();
    74             fetchRulesViaSPARQL("resource://data/tag2link.wikidata.sparql", "https://josm.openstreetmap.de/remote/wikidata-sparql");
    75             fetchRulesViaSPARQL("resource://data/tag2link.sophox.sparql", "https://josm.openstreetmap.de/remote/sophox-sparql");
     75            fetchRulesViaSPARQL("resource://data/tag2link.wikidata.sparql", Config.getUrls().getJOSMWebsite() + "/remote/wikidata-sparql");
     76            fetchRulesViaSPARQL("resource://data/tag2link.sophox.sparql", Config.getUrls().getJOSMWebsite() + "/remote/sophox-sparql");
    7677        } catch (Exception e) {
    7778            Logging.error("Failed to initialize tag2link rules");
Note: See TracChangeset for help on using the changeset viewer.