diff --git a/main.py b/main.py index e1d4091..682a49b 100644 --- a/main.py +++ b/main.py @@ -15,19 +15,6 @@ def index(): return str(listVDS()) -@get('/action') # or @route('/login') -def login(): - return ''' -
- ''' - @post('/action') # or @route('/login', method='POST') def do_action(): @@ -46,5 +33,21 @@ def do_action(): else: return dict(state="error") + +@get('/action') # or @route('/login') +def login(): + return ''' + + ''' + + + if __name__ == '__main__': run(host='0.0.0.0', port=5000, debug=True) \ No newline at end of file