📅  最后修改于: 2022-03-11 14:47:10.386000             🧑  作者: Mango
import os
from flask import Flask
template_dir = os.path.abspath('../../frontend/src')
app = Flask(__name__, template_folder=template_dir)