You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
Hi,
I'm using serverless with serverless-nextjs-plugin 2.4.2 and webpack. I specified an assetsBucketName in serverless.yml using the variable replacement provided by serverless. In next.config.js I didn't specified an assetPrefix because I can't use serverless variable replacement here and - looking at getAssetsBucketName.js - should be overridden by the serverless.yml.
This is successfully used for bucket creation and uploading the static assets. But it is not applied to page rendering. So when calling the newly deployed application, it refers https://<lambda url>/_next/... instead of https://<assets-bucket-name>.s3.amazonaws.com/_next/...
Can you give me some guidance how to fix this issue?