Skip to content
  • This project
    • Loading...
  • Sign in

周伟奇 / encryption_script

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • encryption_script
  • test_project
  • main.py
  • 周伟奇's avatar
    add test project · 96cf5ad8
    周伟奇 committed 2022-10-27 11:54:21 +0800
    96cf5ad8
main.py 304 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
from sanic import Sanic
from sanic.response import text
from utils.tools import tool_test

app = Sanic("MyHelloWorldApp")


@app.get("/")
async def hello_world(request):
    return text("Hello, world.")


if __name__ == '__main__':
    tool_test()
    app.run(host='0.0.0.0', port=1337, access_log=False)