app: sanic.Sanic = sanic.Sanic("app")
admin: sanic.Sanic = sanic.Sanic("admin")
app.add_subapp('/admin', admin)
something like this ?
edit: not Blueprints
app: sanic.Sanic = sanic.Sanic("app")
admin: sanic.Sanic = sanic.Sanic("admin")
app.add_subapp('/admin', admin)
something like this ?
edit: not Blueprints
app = Sanic("Main")
admin_app = Sanic("Admin")
...
if __name__ == "__main__":
app.prepare(port=1234)
admin_app.prepare(port=9876)
Sanic.serve()
Something like this?