# Generated by gramex init on 2017-11-08 by Bhanu K <bhanu.kamapantula@gramener.com>. Please retain this line.

url:
  guide/uicomponents:
    pattern: /$YAMLURL/
    handler: FileHandler
    kwargs:
        path: $YAMLPATH/index.html
        template: true

  guide/uicomponents/config:
    pattern: /$YAMLURL/config
    handler: FunctionHandler
    kwargs:
      function: json.dumps(gramex.cache.open(guide_ui_app.config_file, 'config'), ensure_ascii=True, indent=2)
      headers:
        Content-Type: application/json
      cache:
        expiry:
          duration: 3600
