title: Changing the favicon in Flask/Dash
body: <p>Trying to get the <code>favicon</code> to load I have followed suggestions from the internet:</p>
  
  <pre><code>server = Flask(__name__, static_folder='static')
  app =  dash.Dash(external_stylesheets=external_stylesheets, server=server)
  
  app.css.config.serve_locally = False
  app.scripts.config.serve_locally = True
  
  @server.route('/favicon.ico')
  def favicon():
      print('Server root path', server.root_path)
      return send_from_directory(os.path.join(server.root_path, 'static'),
                                 'dice.ico', mimetype='image/vnd.microsoft.icon')
  
     ...
     app.run_server(debug=True)
  </code></pre>
  
  <p>If I browse to the <code>favicon</code>, I see it:</p>
  
  <pre><code>http://www.example.com/favicon.ico
  </code></pre>
  
  <p>However, when I browse to</p>
  
  <pre><code>http://www.example.com
  </code></pre>
  
  <p>I see the <code>dash</code> default icon with it's own description. How do I ensure my own<code>favicon</code> loads correctly?</p>