from flask import Flask
from flask import redirect
app = Flask(name)
@app.route('/')
def index():
return redirect('http://www.baidu.com')
if name == 'main':
app.run()
from flask import Flask
from flask import redirect
app = Flask(name)
@app.route('/')
def index():
return redirect('http://www.baidu.com')
if name == 'main':
app.run()