创建Flask实例app时,利用template_folder 和 static_folder参数进行自定义设置
app = Flask(__name__,
template_folder='frontend/templates',
static_folder='frontend/static',
)
创建Flask实例app时,利用template_folder 和 static_folder参数进行自定义设置
app = Flask(__name__,
template_folder='frontend/templates',
static_folder='frontend/static',
)