'/': { 'root_path': 'localhost', 'log.screen': True }, '/static': { 'tools.staticdir.dir': os.path.join(folder, 'static'), 'tools.staticdir.debug': True, 'tools.staticdir.on': True, 'log.screen': True, 'cors.expose_public.on': True } } # WebFinger webfinger_config = {'/': {'base_url': _op_arg['baseurl']}} cherrypy.tree.mount(WebFinger(webfinger.WebFinger()), '/.well-known/webfinger', webfinger_config) # test list # cherrypy.tree.mount( # TestList('flows', 'links.json', # 'List of OIDC RP library tests for profile: "<i>{}</i>"', # config.GRPS), # '/list') log_root = folder + '/log' cherrypy.tree.mount(Log(log_root), '/log') cherrypy.tree.mount(ClearLog(log_root), '/clear') cherrypy.tree.mount(Tar(log_root), '/mktar') cherrypy.tree.mount(MDSUrl(folder + '/mds_uri'), '/mdsurl')
'tools.staticdir.dir': os.path.join(folder, 'static'), 'tools.staticdir.debug': True, 'tools.staticdir.on': True, 'log.screen': True, 'cors.expose_public.on': True }, '/favicon.ico': { 'tools.staticfile.on': True, 'tools.staticfile.filename': os.path.join(folder, 'static/favicon.ico') } } # WebFinger webfinger_config = {'/': {'base_url': _op_arg['baseurl']}} cherrypy.tree.mount(WebFinger(webfinger.WebFinger(), version=_version), '/.well-known/webfinger', webfinger_config) # test list cherrypy.tree.mount( TestList(_flowsdir, 'links.json', 'List of OIDC RP library tests for profile: "<i>{}</i>"', config.GRPS, version=_version), '/list') log_root = folder + '/log' cherrypy.tree.mount(Log(log_root, version=_version), '/log') cherrypy.tree.mount(ClearLog(folder), '/clear') cherrypy.tree.mount(Tar(folder), '/mktar')