Skip to content
Discussion options

You must be logged in to vote

Solved, I just needed to pass the assetPrefix and the
basePath to my build output folder

like this

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
assetPrefix: '/out',
basePath: '/out',
};

export default nextConfig;

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gabriel-logan
Comment options

@parashgoswami
Comment options

Answer selected by gabriel-logan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants