old_contents: #!/usr/bin/env python
  # coding: utf8
  
  from flask import Flask
  import sys
  
  # allow special characters (e.g. üäö ...)
  reload(sys)
  sys.setdefaultencoding('utf-8')
  
  # Note: Setting static_url_path to '' has the following effect:
  #   - Whenever a file is requested and there is no matching route defined
  #     the flask server will look whether the file is in the 'static/' folder
  #   - As a consequence, everyone can remotely access files within 'static/'
  #   - We need this, so that the front-end works properly.
  app = Flask(__name__, static_url_path='')
  
  
  
  
  if __name__ == '__main__':
      app.run(host='localhost', port=20008, debug=True)
  
new_contents: #!/usr/bin/env python
  # coding: utf8
  
  from flask import Flask, send_file
  import sys
  
  # allow special characters (e.g. üäö ...)
  reload(sys)
  sys.setdefaultencoding('utf-8')
  
  # Note: Setting static_url_path to '' has the following effect:
  #   - Whenever a file is requested and there is no matching route defined
  #     the flask server will look whether the file is in the 'static/' folder
  #   - As a consequence, everyone can remotely access files within 'static/'
  #   - We need this, so that the front-end works properly.
  app = Flask(__name__, static_url_path='')
  
  @app.route('/', methods=['GET'])
  def frontEnd():
      return send_file('static/index.html')
  
  if __name__ == '__main__':
      app.run(host='localhost', port=20008, debug=True)
  
subject: Add 009-server-front-end solution