Skip to content

Instantly share code, notes, and snippets.

View audree1's full-sized avatar

Audree audree1

View GitHub Profile
/**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) => {
{
"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: \"\"