code: def GET(self, *args):
          '''
          Serve a single static file ignoring the remaining path
  
          This is useful in combination with a browser-based app using the HTML5
          history API.
  
          .. http::get:: /app
  
              :reqheader X-Auth-Token: |req_token|
  
              :status 200: |200|
              :status 401: |401|
          '''
          apiopts = cherrypy.config['apiopts']
  
          default_index = os.path.abspath(os.path.join(
              os.path.dirname(__file__), 'index.html'))
  
          return cherrypy.lib.static.serve_file(
                  apiopts.get('app', default_index)f GET(self, *args):
          '''
          Serve a single static file ignoring the remaining path
  
          This is useful in combination with a browser-based app using the HTML5
          history API.
  
          .. http::get:: /app
  
              :reqheader X-Auth-Token: |req_token|
  
              :status 200: |200|
              :status 401: |401|
          '''
          apiopts = cherrypy.config['apiopts']
  
          default_index = os.path.abspath(os.path.join(
              os.path.dirname(__file__), 'index.html'))
  
          return cherrypy.lib.static.serve_file(
                  apiopts.get('app', default_index))
docs: Serve a single static file ignoring the remaining path
  
          This is useful in combination with a browser-based app using the HTML5
          history API.
  
          .. http::get:: /app
  
              :reqheader X-Auth-Token: |req_token|
  
              :status 200: |200|
              :status 401: |401|