I deployed Prisma to AWS Fargate following on <htt...
# orm-help
k
I deployed Prisma to AWS Fargate following on https://www.prisma.io/tutorials/deploy-prisma-to-aws-fargate-ct14 Anyone knows how to disable playground or limit access? (I don't want anyone can see the playground)
m
If you set the node envrionment variable to ‘production’ it should take care of that automagically for you, I believe.
k
@medelman Thanks! I added the env var like below but I can access to the playground
message has been deleted
m
You want to restrict access to prisma’s playground? Or yoga’s playground?
k
I want to restrict prisma's playground
m
And you’ve set the management api secret?
I’m not sure if there is a way to shut down the prisma playground beyond that--that said, you could/should restrict public access to it at the network layer.
k
Oh year, it sounds simple! I'll look into it. Thank you!