Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bypass OPTIONS handling for API routes #12978

Merged
merged 6 commits into from
May 16, 2020

Conversation

timneutkens
Copy link
Member

As reported here: https://twitter.com/i/status/1261668637007654913

This fixes the issue.

@erikras
Copy link

erikras commented May 16, 2020

You're amazing, @timneutkens!

Copy link
Member

@ijjk ijjk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM just left a comment on the added test

ijjk and others added 4 commits May 16, 2020 10:32
…h-handling

# Conflicts:
#	packages/next/server/hot-reloader.ts
#	yarn.lock
Co-authored-by: JJ Kasper <jj@jjsweb.site>
@Timer Timer added this to the 9.4.1 milestone May 16, 2020
@Timer Timer merged commit 57dcdd9 into vercel:canary May 16, 2020
@timneutkens timneutkens deleted the add/trailing-slash-handling branch May 18, 2020 08:15
chibicode pushed a commit to chibicode/next.js that referenced this pull request May 21, 2020
rokinsky pushed a commit to rokinsky/next.js that referenced this pull request Jul 11, 2020
@vercel vercel locked as resolved and limited conversation to collaborators Jan 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants