【发布时间】:2016-11-06 16:55:39
【问题描述】:
这是一个基本的意义检查问题,因为我正在部署一些新模块:
dispatch.yaml:
application: my-app
# No version required; this does routing independent of version.
dispatch:
# Default module serves the typical web resources and all static resources.
- url: "*/favicon.ico"
module: default
# Default module serves simple hostname request.
- url: "simple-sample.appspot.com/"
module: default
# Send all mobile traffic to the mobile frontend.
- url: "*/mobile/*"
module: mobile-frontend
# Send all work to the one static backend.
- url: "*/work/*"
module: static-backend
用"*.com/mobile/*" 代替"*/mobile/*" 不是更安全吗?以防其他模块可能在其网址中的某个地方使用/mobile/ 并意外路由到mobile-frontend?
如果我有 .com 以外的域名怎么办? .io?
【问题讨论】:
标签: google-app-engine app-engine-modules