Move callbacks to the default switch blocks...
All checks were successful
build-docker-imge / Build the docker container (push) Successful in 28m24s
All checks were successful
build-docker-imge / Build the docker container (push) Successful in 28m24s
This commit is contained in:
parent
beea84a6e9
commit
af0e2919f4
@ -109,7 +109,7 @@ ENV NODE_ENV=production
|
||||
# This is important if you intend to configure GraphQL to use Realtime.
|
||||
#
|
||||
# CMD [ "./api/dist/server.js" ]
|
||||
CMD [ "node_modules/.bin/rw-server", "api" ]
|
||||
CMD [ "node_modules/.bin/rw-server", "api" ]
|
||||
|
||||
# web serve
|
||||
# ---------
|
||||
|
@ -27,9 +27,10 @@ export const handler = async (event: APIGatewayEvent, _context: Context) => {
|
||||
case '/oauth/microsoft/callback':
|
||||
return await callback(event)
|
||||
default:
|
||||
return {
|
||||
return await callback(event)
|
||||
/*return {
|
||||
statusCode: 404,
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -25,9 +25,10 @@ export const handler = async (event: APIGatewayEvent, _context: Context) => {
|
||||
case '/oauthStart/microsoft':
|
||||
return await callback()
|
||||
default:
|
||||
return {
|
||||
return await callback()
|
||||
/* return {
|
||||
statusCode: 404,
|
||||
}
|
||||
} */
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user