rsnext/packages/next/next-server/server
JJ Kasper c8d26edf57
Allow passing statusCode for GS(S)P redirect (#18422)
This adds support for passing `statusCode` in a `redirect` from `getServerSideProps` or `getStaticProps` which matches the `redirect` shape allowed to be returned for `redirects` in `next.config.js`

Closes: https://github.com/vercel/next.js/issues/18350
2020-11-02 21:47:59 +00:00
..
lib Fix un-transpiled client file with rewrites (#16453) 2020-08-21 19:11:25 +00:00
api-utils.ts Remove left-over api-utils method (#17595) 2020-10-04 19:16:30 +00:00
config.ts Ensure localeDetection: false doesn't detect from header (#18695) 2020-11-02 21:02:15 +00:00
crypto-utils.ts chore(next-server): api-utils,crypto-utils,next-server missing types (#13431) 2020-05-27 15:43:10 +00:00
denormalize-page-path.ts Add initial handling for dynamic route href resolving and rewrites on the client (#15231) 2020-08-13 14:39:36 +02:00
font-utils.ts Font optimizations (#14746) 2020-07-28 12:19:28 +02:00
get-page-files.ts Modify low priority files in manifest (#16181) 2020-08-14 04:30:25 +00:00
get-route-from-entrypoint.ts Fix app-document-import-order test for webpack 5 (#15224) 2020-07-17 10:38:06 +02:00
image-optimizer.ts Rotate image from EXIF data (#18687) 2020-11-02 16:26:03 +00:00
incremental-cache.ts Add support for returning 404 from getStaticProps (#17755) 2020-10-15 23:55:38 +02:00
load-components.ts Allow pages to be async modules to enable top-level-await (#17590) 2020-10-14 11:55:42 +02:00
next-server.ts Ensure localeDetection: false doesn't detect from header (#18695) 2020-11-02 21:02:15 +00:00
node-polyfill-fetch.js Make fetch polyfill work with ky-universal (#12804) 2020-05-12 15:58:21 -04:00
normalize-page-path.ts Add initial handling for dynamic route href resolving and rewrites on the client (#15231) 2020-08-13 14:39:36 +02:00
optimize-amp.ts Revert "@ampproject/toolbox-optimizer" 2020-03-30 16:26:25 -04:00
render.tsx Allow passing statusCode for GS(S)P redirect (#18422) 2020-11-02 21:47:59 +00:00
require.ts Remove tslint disables (#16116) 2020-08-12 14:39:07 +00:00
router.ts Ensure custom routes handling with i18n (#18427) 2020-10-29 17:48:54 +00:00
send-payload.ts Combine sendPayload and sendHTML (#15475) 2020-07-27 16:19:30 -04:00
serve-static.ts Add support for Image Optimizer (#17749) 2020-10-16 13:10:01 +02:00
utils.ts Improve Server Lib Utilities (#12119) 2020-04-23 09:38:57 +02:00