i am having problems deploying a gh-pages branch which is generated by next build && next export, my repo name is portfolio so the generated url is http://blackshot.github.io/portfolio/ i been reading that using assetPrefix and basePath works but not for me.
though this is my next.config.js
const isDev = process.env.NODE_ENV !== "production";
module.exports = {
basePath: isDev ? "": "/portfolio",
assetPrefix: isDev ? "": "/portfolio/"
}
browser is still 404ing assets

blackshot/portfolio is the repo if you want to take a look