rsnext/packages/next-server/server
JJ Kasper e112df4319 Throw error when router methods are used in SSR (#6550)
* Update to use the correct router instance in withRouter so error is
thrown when router method is used during SSR

* Revert changes to with-router and add error to methods on
direct router instance

* Extend Router and override methods with error instead

* Update ServerRouter, add err.sh, and add test
2019-03-07 17:13:38 +01:00
..
lib Handle decoding errors correctly (#5589) 2018-11-04 01:22:33 +01:00
config.js Throw error when Promise is returned in next.config (#6476) 2019-02-28 14:39:51 +01:00
get-dynamic-import-bundles.ts Implement tslint for core files (#5952) 2018-12-31 14:44:27 +01:00
get-page-files.ts Implement tslint for core files (#5952) 2018-12-31 14:44:27 +01:00
load-components.ts Implement tslint for core files (#5952) 2018-12-31 14:44:27 +01:00
next-server.ts Consolidate traditional and AMP rendering methods (#6506) 2019-03-01 15:35:43 -05:00
normalize-page-path.ts Implement tslint for core files (#5952) 2018-12-31 14:44:27 +01:00
render.tsx Throw error when router methods are used in SSR (#6550) 2019-03-07 17:13:38 +01:00
require.ts Implement tslint for core files (#5952) 2018-12-31 14:44:27 +01:00
router.ts [experimental] Rendering to AMP (#6218) 2019-02-14 10:22:57 -05:00
send-html.ts Implement tslint for core files (#5952) 2018-12-31 14:44:27 +01:00
serve-static.ts Implement tslint for core files (#5952) 2018-12-31 14:44:27 +01:00
utils.ts Implement tslint for core files (#5952) 2018-12-31 14:44:27 +01:00