from chat import views
from config.bootstrap import get_config


def setup_routes(router):
    config = get_config()
    router.add_get('/add', views.show_message)
    router.add_post('/add', views.add_message)
    router.add_static('/static', config['base_path'] + '/static')

9480b9346a1ef60c26a3f3608ef49cebe23784c1
<mask token>

<mask token>


def setup_routes(router):
    config = get_config()
    router.add_get('/add', views.show_message)
    router.add_post('/add', views.add_message)
    router.add_static('/static', config['base_path'] + '/static')

from chat import views
from config.bootstrap import get_config


def setup_routes(router):
    config = get_config()
    router.add_get('/add', views.show_message)
    router.add_post('/add', views.add_message)
    router.add_static('/static', config['base_path'] + '/static')
