Closed IRediTOTO closed 3 years ago
Error above said about at getStaticProps (D:\Job\anz\.next\server\pages\index.js:9301:69)
And I got this at line 9301
await src_middlewares_index__WEBPACK_IMPORTED_MODULE_3__["all"].run(context.req, context.res);
It dont make site down but try catch got this :)
nc.handle = function handle(req, res, done) {
const idx = req.url.indexOf("?"); // bug here ?
const pathname = idx !== -1 ? req.url.substring(0, idx) : req.url;
const { handlers } = this.find(
req.method,
this.baseUrl ? pathname.substring(this.baseUrl.length) : pathname
);
Oh no :) This don't run in getStaticProps
OMG :) New version connect mongo supper fast ,it like a production.
Hi I got this error. Not sure what is the url ?
here is my use