Skip to content

Commit 0399fea

Browse files
author
Tik
committed
1. handle static folder behine proxy
1 parent 6bd3bb2 commit 0399fea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pygeoapi/flask_app.py

+4
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858
if CONFIG['server'].get('admin'):
5959
from pygeoapi.admin import Admin
6060

61+
static_url = '/static'
62+
if CONFIG['server'].get('static_url'):
63+
static_url = CONFIG['server']['static_url']
64+
6165
STATIC_FOLDER = 'static'
6266
if 'templates' in CONFIG['server']:
6367
STATIC_FOLDER = CONFIG['server']['templates'].get('static', 'static')

0 commit comments

Comments
 (0)