Skip to content

Commit

Permalink
[AB-xxx] fixing not serving static files
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheldan committed Mar 26, 2024
1 parent b782757 commit 9b865af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/components/rest-api-base/python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
FORMAT = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
logging.basicConfig(encoding='utf-8', level=logging.INFO, format=FORMAT)
template_dir = os.path.abspath('resources/templates')
app = Flask(__name__, template_folder=template_dir)
app = Flask(__name__, template_folder=template_dir, static_url_path='', static_folder=template_dir)

import sys
sys.path.append("..")
Expand Down

0 comments on commit 9b865af

Please sign in to comment.