Skip to content
Snippets Groups Projects
Commit acefa4b1 authored by Martin Mareš's avatar Martin Mareš
Browse files

mo.web: instance files a static folder nejsou součástí balíčku

parent be62a0c1
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ import mo.db as db
import mo.users
# Aplikační objekt
app = Flask(__name__, root_path='.')
app = Flask(__name__, instance_path=os.path.abspath('data'), static_folder=os.path.abspath('static'))
app.config.from_object(config)
app.jinja_options['extensions'].append('jinja2.ext.do')
app.jinja_env.lstrip_blocks = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment