I am trying to host a very simple NextJS 13 site using GitHub pages, however i noticed that weird behaviour that only seems to be affecting Safari (iOS + MacOS).
On initial load, images are displayed correctly, however on route i get a 404 with images.
This is my Github repo: https://github.com/ayush-lal/boilerplate-nextjs
TIA
EDIT:
// next.config.js
/** @type {import('next').NextConfig} */
const repo = "boilerplate-nextjs";
const assetPrefix = `/${repo}/`;
const basePath = `/${repo}`;
const nextConfig = {
trailingSlash: true,
output: "export",
basePath: basePath,
assetPrefix: assetPrefix,
images: {
unoptimized: true,
},
};
module.exports = nextConfig;

