Initial layout
This commit is contained in:
21
src/applets/main/routes.py
Normal file
21
src/applets/main/routes.py
Normal file
@@ -0,0 +1,21 @@
|
||||
from applets.main import bp
|
||||
|
||||
|
||||
@bp.route('/')
|
||||
def index():
|
||||
"""
|
||||
The page you'd get if you access the root of
|
||||
this app in a browser.
|
||||
"""
|
||||
return ("Welcome to System Installer Daemon POC <br />"
|
||||
"Version: Unavailable")
|
||||
|
||||
|
||||
@bp.route('/api/v0')
|
||||
def apihome():
|
||||
"""
|
||||
Not sure what this function should do, but have
|
||||
a feeling that it should exist.
|
||||
"""
|
||||
return ("0")
|
||||
|
||||
Reference in New Issue
Block a user