Skip to content

Commit 46eb4e8

Browse files
Plata, Sergio (Colombia)Plata, Sergio (Colombia)
Plata, Sergio (Colombia)
authored and
Plata, Sergio (Colombia)
committed
MACHETE 3
1 parent be32f97 commit 46eb4e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

edge_lambda.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Resources:
1313
const api_endpoint = "https://*.execute-api.us-east-1.amazonaws.com";
1414
headers['content-security-policy'] = [{
1515
key: 'Content-Security-Policy',
16-
value: "default-src 'self' ;script-src 'self' 'sha256-/IZpfk4Is7wRRs7rLHoSTDAUlvS/kBF/rbh+bt+aSw4=' https://cdnjs.cloudflare.com https://fonts.googleapis.com ; style-src 'self' https://cdnjs.cloudflare.com https://fonts.googleapis.com 'unsafe-inline' ; font-src 'self' https://fonts.googleapis.com https://fonts.gstatic.com; connect-src 'self' " + api_endpoint + "; base-uri 'self' ; manifest-src 'self'; img-src 'self' data:"
16+
value: "default-src 'self' ;script-src 'self' 'sha256-/IZpfk4Is7wRRs7rLHoSTDAUlvS/kBF/rbh+bt+aSw4=' https://cdnjs.cloudflare.com https://fonts.googleapis.com ; style-src 'self' https://cdnjs.cloudflare.com https://fonts.googleapis.com 'unsafe-inline' ; font-src 'self' https://fonts.googleapis.com https://fonts.gstatic.com; connect-src 'self' " + api_endpoint + " https://ipv4.icanhazip.com https://api.ipify.org ; base-uri 'self' ; manifest-src 'self'; img-src 'self' data:"
1717
}];
1818
headers['x-content-type-options'] = [{
1919
key: 'X-Content-Type-Options',

jenkins/nonprod_Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ node('linux') {
2222
sh 'pwd'
2323
sh "sls deploy -v --stage ${env.APPENV.replace('_', '')}" // Values: dev, non_prod and prod
2424
sh 'aws cloudfront get-distribution-config --id EIT6NP7FSXY32'
25-
//sh 'aws lambda publish-version --function-name arn:aws:lambda:us-east-1:038612146925:function:co-plsv-front-infr-nonprod-LambdaEdgePlsv-1EVRIIC7NWAN'
25+
sh 'aws lambda publish-version --function-name arn:aws:lambda:us-east-1:038612146925:function:co-plsv-front-infr-nonprod-LambdaEdgePlsv-1EVRIIC7NWAN'
2626
sh 'aws lambda list-versions-by-function --function-name arn:aws:lambda:us-east-1:038612146925:function:co-plsv-front-infr-nonprod-LambdaEdgePlsv-1EVRIIC7NWAN'
2727
sh 'aws cloudfront create-invalidation --distribution-id EIT6NP7FSXY32 --paths "/*"'
2828
}

0 commit comments

Comments
 (0)