0
File Structure

 ROOT
    - app.yaml
    - flashfolder/bin-release
                  -sfx
                  -maps
                  -resources

我试过了,

- url: /flashFolder/bin-release/*(.*\.(gif|png|jpg|ico|js|css|swf|xml|tmx|mp3))
  static_dir: \1
  upload: static/flashFolder/bin-release/(.*\.(gif|png|jpg|ico|js|css|swf|xml|tmx|mp3))

- url: /flashFolder/bin-release/*(.*\.(gif|png|jpg|ico|js|css|swf|xml|tmx|mp3))
  static_files: \1
  upload: static/flashFolder/bin-release/(.*\.(gif|png|jpg|ico|js|css|swf|xml|tmx|mp3))

- url: /flashFolder/bin-release/
  static_dir: \1

任何人都有一个解释 URL 处理程序的链接,除了谷歌提供的之外,python 就在我的头上。

我只想上传 bin-release 中的所有文件夹及其内容,而无需专门映射它们。我可以在 bin-release 地图中扔一张外卡吗?

4

1 回答 1

0

尝试:

- url: /flashFolder/bin-release/
  static_dir: flashFolder/bin-release/

除非你真的需要根据文件扩展名进行过滤

于 2013-05-07T03:59:29.307 回答