Skip to content

Commit

Permalink
Use https in a few URLs (#1066)
Browse files Browse the repository at this point in the history
A few URLs were using 'http' instead of 'https'. The URLs would upgrade to TLS but it's a good habit to use HTTPS by default and not depend on the connection upgrade.
  • Loading branch information
ljdelight authored Sep 6, 2023
1 parent 81ba5cf commit dcc34bf
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,4 +338,4 @@ Please fork the project and submit a pull request. See [Postman Docs](postman/RE
Bug and feature requests are best left as an issue right here on Github. For other things, contact [email protected]
MapRoulette now also has a channel #maproulette on the [OSM US Slack community](http://osmus.slack.com). Invite yourself [here](https://osmus-slack.herokuapp.com/)!
MapRoulette now also has a channel #maproulette on the [OSM US Slack community](https://osmus.slack.com).
2 changes: 1 addition & 1 deletion app/org/maproulette/provider/ChallengeProvider.scala
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ class ChallengeProvider @Inject() (
}

/**
* parse the query, replace various extended overpass query parameters see http://wiki.openstreetmap.org/wiki/Overpass_turbo/Extended_Overpass_Queries
* parse the query, replace various extended overpass query parameters see https://wiki.openstreetmap.org/wiki/Overpass_turbo/Extended_Overpass_Queries
* Currently do not support {{bbox}} or {{center}}
*
* @param query The query to parse
Expand Down
4 changes: 2 additions & 2 deletions conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ include "keepright.conf"

osm {
ql {
provider="http://overpass-api.de/api/interpreter"
provider="https://overpass-api.de/api/interpreter"
timeout=120
}
server="https://www.openstreetmap.org"
Expand Down Expand Up @@ -341,7 +341,7 @@ osm {

# Logger
# ~~~~~
# You can also configure logback (http://logback.qos.ch/),
# You can also configure logback (https://logback.qos.ch/),
# by providing an application-logger.xml file in the conf directory.

# Root logger:
Expand Down
2 changes: 1 addition & 1 deletion conf/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ info:
name: "[email protected]"
license:
name: "Apache License version 2.0"
url: "http://www.apache.org/licenses/"
url: "https://www.apache.org/licenses/"
servers:
- url: /api/v2
tags:
Expand Down
2 changes: 1 addition & 1 deletion docs/challenge_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ The third option is to provide the GeoJSON directly through the API. This can be
##### GeoJSON Structure
The GeoJSON provided in any of the above usages must conform to the GeoJSON standards found in [RFC 7946](https://tools.ietf.org/html/rfc7946), you can also find out further information at [geojson.org](http://geojson.org). There is one caveat to this, in that you can also provide LineByLine GeoJSON. That is GeoJSON that as a whole is not valid, as each line in a file contains valid GeoJSON, but each line is a separate GeoJSON entity. The LineByLine GeoJSON is only an option when using files, and cannot be used when supplying the GeoJSON in the body of a Challenge. You can however use the LineByLine GeoJSON when supplying it as the body of the API ```PUT /api/v2/challenge/{id}/addTasks```.
The GeoJSON provided in any of the above usages must conform to the GeoJSON standards found in [RFC 7946](https://tools.ietf.org/html/rfc7946), you can also find out further information at [geojson.org](https://geojson.org). There is one caveat to this, in that you can also provide LineByLine GeoJSON. That is GeoJSON that as a whole is not valid, as each line in a file contains valid GeoJSON, but each line is a separate GeoJSON entity. The LineByLine GeoJSON is only an option when using files, and cannot be used when supplying the GeoJSON in the body of a Challenge. You can however use the LineByLine GeoJSON when supplying it as the body of the API ```PUT /api/v2/challenge/{id}/addTasks```.
## Examples
Expand Down

0 comments on commit dcc34bf

Please sign in to comment.