from flask import Flask, render_template
app = Flask(__name__)
app.static_folder = 'static'
@app.route('/')
def index():
return render_template('index.html')
from flask import Flask, render_template
from flask.ext.s3 import FlaskS3
app = Flask(__name__)
s3 = FlaskS3(app)
@app.route('/')
def index():
return render_template('index.html')
上一篇:本地显示图片但服务器上未显示
下一篇:本地消息队列