Magnus

Results 27 comments of Magnus

Which of the E2E? `appRouter` / `appPagesRouter` or `pagesRouter`?

> maybe we should hold off until next-auth 5 is more stable? I'm not sure what the situation is w/ v5. im not sure either, they are probably waiting a...

> `dev` is not a good name either, it will be misleading. Yeah the name should not be dev. `local` could perhaps be a better fit? > Best things to...

The issue seems to be [these](https://github.com/vercel/next.js/blob/ea08bf273ce03ac2ba8c6b021f35c27a8facdac1/packages/next/src/server/next-server.ts#L1916-L1923) lines in `next/dist/server/next-server.js`. `this.fetchHostname` and `this.port` is `undefined` in our case. `this.nextConfig.experimental.trustHostHeader` is also `true`, so it will [set](https://github.com/vercel/next.js/blob/ea08bf273ce03ac2ba8c6b021f35c27a8facdac1/packages/next/src/server/next-server.ts#L1920) `initUrl` with `https` no matter...

In some cases it can return an array with one element. With a recent [PR](https://github.com/opennextjs/opennextjs-aws/pull/1016) it takes care of that problem. However, are there any cases it can return a...

@emilkowalski whats the correct solution here if I may ask? 🤔

Good catch @qroll! You can open a PR with your suggested changes. I just tested this and the values in `HtmlPages` doesn't seem to have the `basePath` prefixed.

> I'm using SST which calls open-next under the hood but it seems I cannot propagate the environment variable even when using `cross-env`. Do you have any clue what the...

this is more of a SST question than an open-next. if you are using sstv2 you need to create it using `aws-cdk-lib` then pass it through to `cdk.distribution.webAclId` on the...

Are you using tRPC or anything special with those API routes? You should probably look in CloudWatch logs aswell and see if you can see anything on the default server...