Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAbstractDev committed Mar 9, 2016
1 parent 53c98fb commit f52c135
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ Example using it via JavaScript:
```javascript
Parse.initialize('myAppId','unused');
Parse.serverURL = 'https://whatever.herokuapp.com';

var obj = new Parse.Object('GameScore');
obj.set('score',1337);
obj.save().then(function(obj) {
Expand Down Expand Up @@ -140,8 +141,8 @@ Example using it on iOS (Swift):
```swift
Parse.initializeWithConfiguration(ParseClientConfiguration(block: { (configuration: ParseMutableClientConfiguration) -> Void in
configuration.server = "https://<# Your Heroku server #>/parse"
configuration.applicationId ="<# Your APP_ID #>"
configuration.clientKey ="<# Your CLIENT_KEY #>"
configuration.applicationId = "<# Your APP_ID #>"
configuration.clientKey = "<# Your CLIENT_KEY #>"
}))
```
You can change the server URL in all of the open-source SDKs, but we're releasing new builds which provide initialization time configuration of this property.

0 comments on commit f52c135

Please sign in to comment.