application.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:simphony-remote 作者: simphony 项目源码 文件源码
def _web_handlers(self):
        base_urlpath = self.command_line_config.base_urlpath
        return [
            (without_end_slash(
                url_path_join(base_urlpath, "containers", "([a-z0-9_]*)")
            )+"/?", RegisterContainerHandler),
            (base_urlpath, UserHomeHandler),
            (base_urlpath.rstrip('/'), web.RedirectHandler, {
                "url": base_urlpath}),
        ]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号