This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**Cloud Function for prerending | |
Pages that need indexing have been generated for: account.html, contact.html, deletion.html, donate.html | |
faq.html, home.html, privacy.html,tos.html | |
All other pages require authentication and are not indexed by search engines | |
* **/ | |
var isnull = v => v === null || typeof v === 'undefined' | |
var suf = (uri, suffix, delim) => uri.toLowerCase().endsWith(delim+suffix) | |
var m = (ua, piece) => ua.toLowerCase().indexOf(piece) >= 0 | |
var is_suffix = (uri, list, delim) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"messages": [ | |
{ "body": {"queue": "default","priority": 0,"handler": "--- !ruby/object:ActiveJob::QueueAdapters::DelayedJobAdapter::JobWrapper | |
job_data: | |
job_class: InsertDicomJob | |
job_id: dicom.20150409070059.2262.784.0 | |
queue_name: default | |
arguments: | |
- bucket_name: \"staging-tmp-files\" | |
file_name: \"\" |