From b377c6ed41601f01695ab12f01d76197217d3b60 Mon Sep 17 00:00:00 2001 From: Michelle Mabuyo Date: Thu, 6 Jun 2024 14:03:41 -0400 Subject: [PATCH] lesson 11 - cors yaml config --- router/router-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/router/router-config.yaml b/router/router-config.yaml index d4f5c30..0f77fc6 100644 --- a/router/router-config.yaml +++ b/router/router-config.yaml @@ -5,3 +5,7 @@ headers: request: - propagate: named: "Authorization" +cors: + origins: + - http://localhost:3000 # Allows any locally-running client to run against your Router + - https://studio.apollographql.com # Allows Apollo Studio to still run queries against your Router