Skip to content

Commit

Permalink
update openstreetmap API URLs (#2287)
Browse files Browse the repository at this point in the history
Co-authored-by: Charly C <[email protected]>
  • Loading branch information
danieldegroot2 and Changaco authored Oct 23, 2023
1 parent 2192f02 commit 0bbdba2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/app-conf-defaults.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ INSERT INTO app_conf (key, value) VALUES
('linuxfr_id', '"c574b5f45ce054a0750a3764b3ff8ff2c9f88fe36611272a0bf5e4e07bd3c0bf"'::jsonb),
('linuxfr_secret', '"8c518595790487015cd0c33be2d04939946f99aad33c86a6af20a99bc749fb3b"'::jsonb),
('log_emails', 'true'::jsonb),
('openstreetmap_api_url', '"http://www.openstreetmap.org/api/0.6"'::jsonb),
('openstreetmap_auth_url', '"http://www.openstreetmap.org"'::jsonb),
('openstreetmap_api_url', '"https://api.openstreetmap.org/api/0.6"'::jsonb),
('openstreetmap_auth_url', '"https://www.openstreetmap.org"'::jsonb),
('openstreetmap_callback', '"http://127.0.0.1:8339/on/openstreetmap/associate"'::jsonb),
('openstreetmap_id', '"w4eQbkobmMzpkJFwS4tM16a3lq9AFbcoNCKNcGBE"'::jsonb),
('openstreetmap_secret', '"W08UgEhxQnh7nMzB7GfSFcqcwPnZMmKMNyxWdcw4"'::jsonb),
Expand Down
2 changes: 2 additions & 0 deletions sql/branch.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
UPDATE app_conf SET value = '"https://api.openstreetmap.org/api/0.6"'::jsonb WHERE key = 'openstreetmap_api_url';
UPDATE app_conf SET value = '"https://www.openstreetmap.org"'::jsonb WHERE key = 'openstreetmap_auth_url';

0 comments on commit 0bbdba2

Please sign in to comment.