I hereby claim:
- I am jackbenny on github.
- I am jackbenny (https://keybase.io/jackbenny) on keybase.
- I have a public key ASCQRlw4aS6kGZIFYrmEkMLrroLZ-bxwwoKdR2CuU0vDOAo
To claim this, I am signing this object:
'use strict'; | |
const pointsToFile = uri => /\/[^/]+\.[^/]+$/.test(uri); | |
exports.handler = (event, context, callback) => { | |
// Extract the request from the CloudFront event that is sent to Lambda@Edge | |
var request = event.Records[0].cf.request; | |
// Extract the URI from the request |
'use strict'; | |
const path = require('path') | |
exports.handler = (event, context, callback) => { | |
//get request object | |
const { request } = event.Records[0].cf | |
const url = request.uri; |
I hereby claim:
To claim this, I am signing this object: