Skip to content

Commit

Permalink
Update mtw-dist.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
filak committed Jan 17, 2023
1 parent ec1ffe8 commit 2bf9533
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions flask-app/dist/instance/conf/mtw-dist.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# *** Config version 1.4.5 ***
# *** Config version 1.4.7 ***
### Important values are marked with ! ###
### ! This file MUST BE UTF-8 encoded ! ###
### ! Restart the App after modifying ! ###
Expand All @@ -16,25 +16,23 @@ APP_PATH = /mtw

### ! Required ! ###
### Host root link prefix - WITHOUT trailing slash ! ###
#HOST_LINK = http://127.0.0.1:5900
#HOST_LINK = http://127.0.0.1:55930
HOST_LINK = https://mtwsrv.medvik.cz
HOST_LINK = https://dev.medvik.cz

### ! Background Worker host:port ! ###
## Default - production: http://127.0.0.1:55933/ - development: http://127.0.0.1:5903/ ##
#WORKER_HOST = http://127.0.0.1:5903/
WORKER_HOST = http://127.0.0.1:55933/

### ! Always set ! ###
TARGET_YEAR = 2022
TARGET_YEAR = 2023

### Default previous version year - used for showing modifications ###
PREV_YEAR_DEF = 2021
PREV_YEARS = 2015,2016,2017,2018,2019,2020,2021
PREV_YEAR_DEF = 2022
PREV_YEARS = 2015,2016,2017,2018,2019,2020,2021,2022

### Date format: YYYY-MM-DD ###
REVISED_AFTER = 2021-01-01
CREATED_AFTER = 2021-01-01
REVISED_AFTER = 2022-01-01
CREATED_AFTER = 2022-01-01

### ! Always set ! ###
MARC_LIBCODE = CZ-PrNML
Expand Down Expand Up @@ -131,9 +129,9 @@ SESSIONS = {"SESSION_COOKIE_NAME": "mtwsession", "SESSION_TYPE": "filesystem", "

GCSP = {"script-src": "'self' ",
"connect-src": "'self' *.medvik.cz *.nlk.cz",
"style-src": "'self' data: 'unsafe-inline'",
"style-src": "'self' fonts.googleapis.com *.gstatic.com data: 'unsafe-inline'",
"frame-src": "'self' ",
"font-src": "'self' ",
"font-src": "'self' *.gstatic.com",
"img-src": "'self' *.medvik.cz *.nlk.cz data:"
}

Expand Down

0 comments on commit 2bf9533

Please sign in to comment.