I have an app with several modules. A dispatch.yaml file routes all */api/* calls from my default module to my server module.
The following request chain happens:
- http://myapp.appspot.com/api/webrequest - Note we are on the default module.
- http://server-dot-myapp.appspot.com/api/webrequest - Redirection with
dispatch.yamlto the server module whereappengine.delay.Callis made using the delay package. - http://myapp.appspot.com/_ah/queue/go/delay - The
appengine.delay.Funcis called on the default module instead of http://server-dot-myapp.appspot.com/_ah/queue/go/delay like I would expect.
How can I make my appengine.delay.Func execute with http://server-dot-myapp.appspot.com/_ah/queue/go/delay?
Note that if I call http://server-dot-myapp.appspot.com/api/webrequest directly without using the dispatch.yaml redirect, everything workes as expected and appengine.delay.Func gets called with http://server-dot-myapp.appspot.com/_ah/queue/go/delay.