I added a function like this to the channel javascript:

goog.appengine.DevSocket.setConnectionBase = function(base) { 
goog.appengine.DevSocket.BASE_URL = base + "_ah/channel/"};

...

goog.exportSymbol("goog.appengine.Channel.setConnectionBase", 
goog.appengine.DevSocket.setConnectionBase);

This allowed me to serve the channel javascript as a static file served 
outside of appspot.com instead of through the normal page load process. 
(This is a static mobile app based on PhoneGap.) The base URL I set to was 
the appspot.com domain.

- Kris

On Wednesday, October 24, 2012 2:10:20 PM UTC-7, niedbalski wrote:
>
> Hi Kristopher,
>
> On Tuesday, October 23, 2012 3:15:02 AM UTC-3, Kristopher Giesing wrote:
>
>> The live version uses an embedded iFrame.  The dev server version can't 
>> work across domains without modifications, but I have gotten it to work by 
>> adding a method that overrides the base URL.
>>
>> - Kris
>>
>> On Monday, October 22, 2012 2:27:28 PM UTC-7, niedbalski wrote:
>>>
>>> ...
>>>
>>>
>
> Do you know why the development server is not using the same iframe 
> work-around ?  Can you share your hack for this?
>
> Thanks you.
>
> JNR.
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/J-Jm7wfuwgoJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to