Skip to content

Commit

Permalink
fix: #2467 upped the clock drift on connect session, few other small …
Browse files Browse the repository at this point in the history
…tweaks (#2474)
  • Loading branch information
willmcvay authored Aug 25, 2020
1 parent 6cbe9ce commit 0cf841f
Show file tree
Hide file tree
Showing 11 changed files with 4,483 additions and 43 deletions.
13 changes: 7 additions & 6 deletions packages/api-docs-lamda/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
service: cloud-api-docs-lambda
service: api-docs-lambda
plugins:
- serverless-webpack
- serverless-offline
- serverless-deployment-bucket
- serverless-s3-deploy

custom:
s3CloudFormBucket: cloud-deployment-cloudform-templates-${opt:stage, 'dev'}
env: ${file(./config.json)}
webpack:
webpackConfig: 'webpack.config.js'
includeModules: true
Expand All @@ -22,7 +18,8 @@ provider:
runtime: nodejs12.x
region: 'eu-west-2'
deploymentBucket:
name: ${self:custom.s3CloudFormBucket}
name: api-docs-lambda
blockPublicAccess: false
environment:
NODE_ENV: 'production'

Expand All @@ -49,3 +46,7 @@ functions:
method: get
path: /{proxy+}
cors: false
- http:
method: get
path: /
cors: false
2 changes: 1 addition & 1 deletion packages/api-docs-lamda/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import axios from 'axios'
export const API_DOCS_URL = 'https://foundations-documentation.reapit.cloud'
// List of domains I allow to load in an iframe
export const CONTENT_SECURITY_WHITELIST =
'http://localhost:8080 https://marketplace.reapit.cloud https://dev.marketplace.reapit.cloud https://dev.developers.reapit.cloud https://developers.reapit.cloud'
'http://localhost:8080 https://dev.developers.reapit.cloud https://developers.reapit.cloud https://developers.prod.paas.reapit.cloud https://developers.dev.paas.reapit.cloud'

export const apiDocsHandler = async () => {
try {
Expand Down
Loading

0 comments on commit 0cf841f

Please sign in to comment.