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
Post a Comment