Adding local environment files

This commit is contained in:
Matias committed 2019-06-22 17:14:44 -03:00
1 parent 2a48de713b
commit 24eb0e72ef
34 files changed
+942 -18

No files matched your search

+4
View File
@@ -11,6 +11,7 @@ import { createTransformedRemoteSchema } from './createRemoteSchema'
import { teams, events, operations } from './links'
import logger from './logger'
import bodyParser from 'body-parser'
async function getUserId (authId) {
try {
@@ -133,6 +134,9 @@ async function run () {
const app = express()
app.use(bodyParser.json({limit: '50mb'}));
app.use(bodyParser.urlencoded({limit: '50mb', extended: true}));
app.use('/graphql',
jwt({
secret: jwksRsa.expressJwtSecret({