diff --git a/flask-app/dist/instance/conf/mtw-dist.ini b/flask-app/dist/instance/conf/mtw-dist.ini index 6c7ae66..ba3cb0a 100644 --- a/flask-app/dist/instance/conf/mtw-dist.ini +++ b/flask-app/dist/instance/conf/mtw-dist.ini @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# *** Config version 1.6.1 *** +# *** Config version 1.6.5 *** ### Important values are marked with ! ### ### ! This file MUST BE UTF-8 encoded ! ### ### ! Restart the App after modifying ! ### @@ -12,7 +12,6 @@ ### ! Fully qualified domain name - required ! ## - You can override it with --fqdn param when running mtw-server #SERVER_NAME = test.medvik.cz -SERVER_NAME = 127.0.0.1 ### You MUST copy the content of the static dir ### into Apache htdocs root or the equivalent @@ -65,6 +64,8 @@ MARC_TREE = daw ## Default: /mtw/search/ui: AUT_LINK = https://www.medvik.cz/link/ +MESH_BROWSER = https://meshb.nlm.nih.gov/record/ui?ui= + ### Data directories ### ## Defaults: relative to app directory: .../flask-app/instance/_data/... ## #SRC_DIR = D:/Data/mesh/in @@ -79,19 +80,15 @@ AUT_LINK = https://www.medvik.cz/link/ ### Flask-Caching params ## See: https://flask-caching.readthedocs.io/en/latest/ -CACHING = {"CACHE_TYPE": "FileSystemCache", "CACHE_DEFAULT_TIMEOUT": 1800, "CACHE_THRESHOLD": 1000} +CACHING = {"CACHE_DEFAULT_TIMEOUT": 1800, "CACHE_THRESHOLD": 1000} ### Flask-Session params ## See: https://flasksession.readthedocs.io/en/latest/ SESSIONS = { - "SESSION_COOKIE_NAME": "mtwsession", "SESSION_KEY_PREFIX": "MTWS", - "SESSION_COOKIE_SAMESITE": "Lax" + "SESSION_COOKIE_NAME": "mtwsession", "SESSION_KEY_PREFIX": "MTWS" } -## "SESSION_PERMANENT": true, -## "PERMANENT_SESSION_LIFETIME": 1s * 60 * 10 = 600 - 10 min - GCSP = {"script-src": "'self' ", "connect-src": "'self' *.medvik.cz *.nlk.cz", "style-src": "'self' fonts.googleapis.com *.gstatic.com data: 'unsafe-inline'", @@ -102,11 +99,12 @@ GCSP = {"script-src": "'self' ", CHAR_NORM_FILE = norm_chars_table.tsv.txt -### MTW Worker API settings - required ! -[worker] +[worker] +### MTW Worker API settings - required ! WORKER_HOST = http://127.0.0.1:55933/ +API_SCOPE = mtw_api_worker API_STATUS = private API_TIMEOUT = 10 API_TOKEN_MAX_AGE = 10