favicon.ico “not found error” in App Engine

前端 未结 4 1198
一向
一向 2020-12-13 17:10

I am trying to develop on Google App Engine and in the list of the errors displayed in the admin console I always see the following:

/favicon.ico

4条回答
  •  独厮守ぢ
    2020-12-13 18:02

    For your application, favicon.ico should be a static image. You can upload a favicon.ico file with your application, and in your app.yaml file configure your application to serve the image when the url /favicon.ico is requested. Below is an example entry in your app.yaml file for /favicon.ico. We assume you include the favicon.ico file in the directory path static/images:

    - url: /favicon.ico
      static_files: static/images/favicon.ico
      upload: static/images/favicon.ico
    

    is written here

提交回复
热议问题