Skip to content

Commit

Permalink
Merge 005269e into 608eb76
Browse files Browse the repository at this point in the history
  • Loading branch information
roksys committed Jul 25, 2019
2 parents 608eb76 + 005269e commit c8e71d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
from invenio_records import InvenioRecords
from invenio_records_files.api import Record
from invenio_records_files.models import RecordsBuckets
from invenio_records_rest.utils import allow_all
from invenio_records_ui import InvenioRecordsUI
from invenio_records_ui.views import create_blueprint_from_app

Expand All @@ -50,6 +51,7 @@
# Create Flask application
app = Flask(__name__)
app.config.update(
FILES_REST_PERMISSION_FACTORY=allow_all,
SECRET_KEY='CHANGEME',
SQLALCHEMY_DATABASE_URI=os.environ.get(
'SQLALCHEMY_DATABASE_URI', 'sqlite:///instance/test.db'),
Expand Down
1 change: 1 addition & 0 deletions invenio_previewer/templates/invenio_previewer/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
{%- block javascript %}
{% if config.PREVIEWER_ASSETS_USE_WEBPACK %}
{{ webpack['manifest.js'] }}
{{ webpack['vendor.js'] }}
{% for js_bundle in js_bundles %}
{{ webpack[js_bundle] }}
{% endfor %}
Expand Down

0 comments on commit c8e71d1

Please sign in to comment.