blob: 3111cca6163ac8b59ac04c0f482ff1190c7d6c79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
"""Route module.
All endpoints are added to the router here.
"""
import ickapi
def setup_routes(app):
"""Add endpoints to a router."""
version = ickapi.VersionView()
app.router.add_get('/version', version.get_version)
|