# Why
For cookie-based auth to work, the API server url needs to be updated from exp.host to api.expo.dev (which shares the top-level domain with snack.expo.dev). api.expo.dev accepts requests in a different format than exp.host.
# How
snack-sdk
- Changed default apiUrl to api.expo.dev
- Use the modern path format
- Updated docs since this is a breaking change
snack-proxies
- removed www from snack-proxies. No longer used. Instead, snack website runs against proxy-staging-api.expo.test, but this can be overriden with API_SERVER_URL
snackager
- passes new api server url to snack-sdk
website
- passes new api server url to snack-sdk
- updates its own API requests
# Test Plan
Used snack.expo.test locally and verified that thing worked as expected, but we don't have e2e test coverage for this.