You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although hosting your api on api.yourcompany.com may look cool, it forces your api requests to issue an OPTIONS request FIRST to check if CORS is allowed from yourcompany.com to api.yourcompany.com -- you can reduce the number of requests and overhead by half if you opt to expose your api on the same origin using a route like /api instead.
The text was updated successfully, but these errors were encountered:
Although hosting your api on api.yourcompany.com may look cool, it forces your api requests to issue an OPTIONS request FIRST to check if CORS is allowed from yourcompany.com to api.yourcompany.com -- you can reduce the number of requests and overhead by half if you opt to expose your api on the same origin using a route like /api instead.
The text was updated successfully, but these errors were encountered: