You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
233 B
17 lines
233 B
1 year ago
|
#! /usr/bin/python3
|
||
|
#encoding: utf-8
|
||
|
|
||
|
from flask import Flask
|
||
|
app = Flask(__name__)
|
||
|
|
||
|
@app.route("/")
|
||
|
def hello():
|
||
|
return "Hello World!"
|
||
|
|
||
|
@app.route('/test')
|
||
|
def test():
|
||
|
return 'Hello Test'
|
||
|
|
||
|
app.run(host='0.0.0.0',port=8082)
|
||
|
|