mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 00:29:50 +02:00
Clean up how OAuth keys are handled
Connection defaults to osm.org URL and keys for the simple case. Customization is done via connection.switch(). Externalize SourceSwitch's use of iD.data.keys.
This commit is contained in:
+2
-4
@@ -2,13 +2,11 @@
|
||||
{
|
||||
"url": "http://www.openstreetmap.org",
|
||||
"oauth_consumer_key": "5A043yRSEugj4DJ5TljuapfnrflWDte8jTOcWLlT",
|
||||
"oauth_secret": "aB3jKq1TRsCOUrfOIZ6oQMEDmv2ptV76PA54NGLL",
|
||||
"oauth_signature_method": "HMAC-SHA1"
|
||||
"oauth_secret": "aB3jKq1TRsCOUrfOIZ6oQMEDmv2ptV76PA54NGLL"
|
||||
},
|
||||
{
|
||||
"url": "http://api06.dev.openstreetmap.org",
|
||||
"oauth_consumer_key": "zwQZFivccHkLs3a8Rq5CoS412fE5aPCXDw9DZj7R",
|
||||
"oauth_secret": "aMnOOCwExO2XYtRVWJ1bI9QOdqh1cay2UgpbhA6p",
|
||||
"oauth_signature_method": "HMAC-SHA1"
|
||||
"oauth_secret": "aMnOOCwExO2XYtRVWJ1bI9QOdqh1cay2UgpbhA6p"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user