[ckan-changes] [okfn/ckan] fe26f8: [#1000] Enable CORS support if supported for pdf a...

GitHub noreply at github.com
Thu Jun 13 17:31:20 UTC 2013


  Branch: refs/heads/1000-cors-previews
  Home:   https://github.com/okfn/ckan
  Commit: fe26f8437a2a8f58c18cd7feb49f9119f2868557
      https://github.com/okfn/ckan/commit/fe26f8437a2a8f58c18cd7feb49f9119f2868557
  Author: Dominik Moritz <domoritz at gmail.com>
  Date:   2013-06-13 (Thu, 13 Jun 2013)

  Changed paths:
    M ckanext/pdfpreview/plugin.py
    M ckanext/pdfpreview/theme/public/preview_pdf.js
    M ckanext/textpreview/plugin.py
    M ckanext/textpreview/theme/public/preview_text.js

  Log Message:
  -----------
  [#1000] Enable CORS support if supported for pdf and text previews
CORS allows servers to set domains which can load data from them. If servers allow us to fetch files, we don't need to use the resourceproxy. This lowers the load on CKAN and enables faster previews.





More information about the ckan-changes mailing list