Guest User

Untitled

a guest
Feb 24th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. cors.config:
  2. enabled: true
  3. # Specify allowed headers, like 'x-allowed-header'.
  4. allowedHeaders: []
  5. # Specify allowed request methods, specify ['*'] to allow all possible ones.
  6. allowedMethods: ['GET']
  7. # Configure requests allowed from specific origins.
  8. allowedOrigins: ['*']
  9. # Sets the Access-Control-Expose-Headers header.
  10. exposedHeaders: false
  11. # Sets the Access-Control-Max-Age header.
  12. maxAge: false
  13. # Sets the Access-Control-Allow-Credentials header.
  14. supportsCredentials: false
  15.  
  16. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access.
Add Comment
Please, Sign In to add comment