Permalink
Browse files

fix: link on assets with invenio collect

- copy assets in prod, but link in dev

Signed-off-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
  • Loading branch information...
jma committed Sep 5, 2018
1 parent 672a327 commit d7543e09fff39f19b99f6ff9c2c8e8988198961a
Showing with 2 additions and 1 deletion.
  1. +1 −0 docker-services.yml
  2. +1 −1 rero_ils/config.py
@@ -42,6 +42,7 @@ services:
- "INVENIO_SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://rero-ils:rero-ils@db/rero-ils"
- "INVENIO_WSGI_PROXIES=2"
- "INVENIO_RATELIMIT_STORAGE_URL=redis://cache:6379/3"
- "COLLECT_STORAGE='flask_collect.storage.file'"
lb:
build: ./docker/haproxy/
image: rero-ils-lb
@@ -119,7 +119,7 @@ def _(x):
# Assets
# ======
#: Static files collection method (defaults to copying files).
COLLECT_STORAGE = 'flask_collect.storage.file'
# COLLECT_STORAGE = 'flask_collect.storage.file'
# Accounts
# ========

0 comments on commit d7543e0

Please sign in to comment.