google app engine - Dispatch.yaml routing to a specific module version? -


if there way route custom subdomain (something.mydomain.com) specific version of module?

this mean can use following:

www.mydomain.com - production site dev.mydomain.com - testing site

i tried using following in dispatch.yaml, got error when trying update it

- url: "dev.mydomain.com/*"   module: dev.app 

the error was:

error parsing yaml file: unable assign value 'dev.app' attribute 'module': value 'dev.app' module not match expression '^(?:^(?!-)[a-z\d-]{0,62}[a-z\d]$)$' in ".\dispatch.yaml", line 15, column 13

i know can target versions in queue.yaml, , cron (i think) why not dispatch?

if read error closely, notice complaining module name dev.app...

rename module dev-app , try again.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -