Runtime updated to nodejs10.x

This commit is contained in:
Oliver Gutperl
2019-12-16 08:13:20 +01:00
parent 5872e8e1a7
commit 558ab482d9
4 changed files with 16 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
'use strict';
/*
Copyright 2017 DigitalSailors e.K.
Copyright 2017-2019 DigitalSailors e.K.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
exports.handler = (event, context, callback) => {
const request = event.Records[0].cf.request;
let prefixPath; // needed for 2nd condition
if (request.uri.match('.+/$')) {