File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ def public():
150150
151151@APP .route ("/api/private" )
152152@cross_origin (headers = ["Content-Type" , "Authorization" ])
153- @cross_origin (headers = ["Access-Control-Allow-Origin" , "* " ])
153+ @cross_origin (headers = ["Access-Control-Allow-Origin" , "http://localhost:3000 " ])
154154@requires_auth
155155def private ():
156156 """A valid access token is required to access this route
@@ -161,7 +161,7 @@ def private():
161161
162162@APP .route ("/api/private-scoped" )
163163@cross_origin (headers = ["Content-Type" , "Authorization" ])
164- @cross_origin (headers = ["Access-Control-Allow-Origin" , "* " ])
164+ @cross_origin (headers = ["Access-Control-Allow-Origin" , "http://localhost:3000 " ])
165165@requires_auth
166166def private_scoped ():
167167 """A valid access token and an appropriate scope are required to access this route
You can’t perform that action at this time.
0 commit comments