- Add test directory with main.py, p2p.py, ws.py - Add send_empty_json.py WebSocket test script
12 lines
232 B
Python
12 lines
232 B
Python
from microdot import Microdot
|
|
from src.profile import profile_app
|
|
|
|
app = Microdot()
|
|
|
|
@app.route('/')
|
|
async def index(request):
|
|
return 'Hello, world!'
|
|
|
|
app.mount(profile_app, url_prefix="/profile")
|
|
|
|
app.run(port=8080, debug=True) |