Skip to content

Commit

Permalink
update references to osmcha.mapbox.com to osmcha.org
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel committed Feb 25, 2020
1 parent 56a232b commit 1c0d461
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ Instances

We have some instances running ``osmcha-django``:

The main instance is https://osmcha.mapbox.com/. You can check the API
documentation at https://osmcha.mapbox.com/api-docs/.
The main instance is https://osmcha.org/. You can check the API
documentation at https://osmcha.org/api-docs/.

Furthermore, we have a test instance running at https://osmcha-django-staging.tilestream.net/.
Furthermore, we have a test instance running at http://osmcha-org-staging.osmcha.org/.

Deployment
------------
Expand Down
2 changes: 1 addition & 1 deletion env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ POSTGRES_PASSWORD=mysecretpass
DJANGO_ADMIN_URL=
DJANGO_SETTINGS_MODULE=config.settings.production
DJANGO_SECRET_KEY=P>2<$+5m@>E(K(GGt-i!X,VjZ<VYBJL!;2;{@.N,bwgdGijNl@
DJANGO_ALLOWED_HOSTS=.osmcha.mapbox.com
DJANGO_ALLOWED_HOSTS=.osmcha.org

# AWS Settings
DJANGO_AWS_ACCESS_KEY_ID=
Expand Down
6 changes: 3 additions & 3 deletions osmchadjango/changeset/tests/test_comment_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class MockResponse():
message = """Hello! I found an error in your edit
---
#REVIEWED_BAD #OSMCHA
Published using OSMCha: https://osmcha.mapbox.com/changesets/31982803
Published using OSMCha: https://osmcha.org/changesets/31982803
"""
response = self.client.post(
reverse('changeset:comment', args=[self.harmful_changeset.id]),
Expand Down Expand Up @@ -92,7 +92,7 @@ class MockResponse():
message = """Hello! Awesome edit! & :~) óã
---
#REVIEWED_GOOD #OSMCHA
Published using OSMCha: https://osmcha.mapbox.com/changesets/31982804
Published using OSMCha: https://osmcha.org/changesets/31982804
"""
response = self.client.post(
reverse('changeset:comment', args=[self.good_changeset.id]),
Expand Down Expand Up @@ -123,7 +123,7 @@ class MockResponse():
self.client.login(username=self.user.username, password='password')
comment = {'comment': 'Hello! Do you know this area?'}
message = """Hello! Do you know this area?
---\n \n Published using OSMCha: https://osmcha.mapbox.com/changesets/31982802
---\n \n Published using OSMCha: https://osmcha.org/changesets/31982802
"""
response = self.client.post(
reverse('changeset:comment', args=[self.changeset.id]),
Expand Down
2 changes: 1 addition & 1 deletion osmchadjango/changeset/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ def add_footer(self, message):
return """{}
---
{}
Published using OSMCha: https://osmcha.mapbox.com/changesets/{}
Published using OSMCha: https://osmcha.org/changesets/{}
""".format(message, status, self.changeset.id)


Expand Down

0 comments on commit 1c0d461

Please sign in to comment.