flask define template folder

56

flask define template folder -

import os
from flask import Flask

template_dir = os.path.abspath('../../frontend/src')
app = Flask(__name__, template_folder=template_dir)

Comments

Submit
0 Comments