Skip to content

Commit

Permalink
Group redirect status imports (#43480)
Browse files Browse the repository at this point in the history
Group imports from the same source that were separated
  • Loading branch information
leoortizz committed Dec 1, 2022
1 parent 7a7e7d4 commit 77738ed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/next/lib/redirect-status.ts
@@ -1,5 +1,7 @@
import { PERMANENT_REDIRECT_STATUS } from '../shared/lib/constants'
import { TEMPORARY_REDIRECT_STATUS } from '../shared/lib/constants'
import {
PERMANENT_REDIRECT_STATUS,
TEMPORARY_REDIRECT_STATUS,
} from '../shared/lib/constants'

export const allowedStatusCodes = new Set([301, 302, 303, 307, 308])

Expand Down

0 comments on commit 77738ed

Please sign in to comment.