为GAE添加 Favicon.ico和robots.txt Posted on 2008/09/21 by 枯藤昏鸦 将robots.txt及favicon.ico文件放到static目录下,并在app.yaml文件中添加如下代码即可。 YAML - url: /(robots.txt|favicon.ico) static_files: static/\1 upload: static/(robots.txt|favicon.ico) 123 - url: /(robots.txt|favicon.ico) static_files: static/\1 upload: static/(robots.txt|favicon.ico) 或者你可以按照这个方式i添加。 -EOF-