Adding local environment files
This commit is contained in:
1 parent
2a48de713b
commit
24eb0e72ef
34 files changed
+942
-18
No files matched your search
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user