Skip to content

Commit

Permalink
config for running locally
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmiles committed Jun 20, 2014
1 parent 6981f2c commit a388538
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
application: your_appengine_app_name
application: realtimeplayground
version: 1
runtime: python27
api_version: 1
Expand Down
11 changes: 9 additions & 2 deletions js/realtime-client-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,15 @@ rtclient.Authorizer = function(options) {
*/
rtclient.Authorizer.prototype.start = function(onAuthComplete) {
var _this = this;
gapi.load('auth:client,drive-realtime,drive-share', function() {
_this.authorize(onAuthComplete);
gapi.load('auth:client,drive-realtime,drive-share', {
config: {
'drive-realtime': {
'server': 'https://sethhoward0.bld.corp.google.com:4443/otservice'
}
},
callback: function() {
_this.authorize(onAuthComplete);
}
});
}

Expand Down
4 changes: 2 additions & 2 deletions js/rtpg.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
var rtpg = rtpg || {};

/** Your Application ID from the Google APIs Console. */
rtpg.APP_ID = YOUR_APP_ID;
rtpg.APP_ID = '840867953062';

/** Your application's Client ID from the Google APIs Console. */
rtpg.CLIENT_ID = YOUR_CLIENT_ID;
rtpg.CLIENT_ID = '840867953062.apps.googleusercontent.com';

rtpg.realtimeDoc = null;

Expand Down

0 comments on commit a388538

Please sign in to comment.