# -*- coding: utf-8 -*- import _url_istarsea import tornado.wsgi from config import SITE_DOMAIN from zweb.urlmap import handlers from config import SITE_URL application = tornado.wsgi.WSGIApplication( login_url='/auth/login', xsrf_cookies=True, ) RE_SITE_DOMAIN = SITE_DOMAIN.replace('.', r"\.") import _urlmap_istarsea.istarsea import _urlmap_istarsea.i import _urlmap_istarsea.j application.add_handlers( '.*', handlers(_urlmap_istarsea.istarsea, _urlmap_istarsea.i, _urlmap_istarsea.j))
# -*- coding: utf-8 -*- import _url_istarsea import tornado.wsgi from config import SITE_DOMAIN from zweb.urlmap import handlers from config import SITE_URL application = tornado.wsgi.WSGIApplication( login_url='/auth/login' , xsrf_cookies=True, ) RE_SITE_DOMAIN = SITE_DOMAIN.replace('.', r"\.") import _urlmap_istarsea.istarsea import _urlmap_istarsea.i import _urlmap_istarsea.j application.add_handlers( '.*', handlers( _urlmap_istarsea.istarsea, _urlmap_istarsea.i, _urlmap_istarsea.j ) )
from config import SITE_URL application = tornado.wsgi.WSGIApplication( login_url='/auth/login' , xsrf_cookies=True, ) RE_SITE_DOMAIN = SITE_DOMAIN.replace('.', r"\.") import _urlmap.auth import _urlmap.j import _urlmap.hero application.add_handlers( 'hero\.%s'%RE_SITE_DOMAIN, handlers(_urlmap.hero, _urlmap.auth, _urlmap.j) ) import _urlmap.meet application.add_handlers( 'meet\.%s'%RE_SITE_DOMAIN, handlers(_urlmap.meet, _urlmap.auth, _urlmap.j) ) import _urlmap.site application.add_handlers( 'site\.%s'%RE_SITE_DOMAIN, handlers(_urlmap.site, _urlmap.auth, _urlmap.j) ) import _urlmap.tag