From d29c9a34387ca75558c4502ee03d1173bfed87ff Mon Sep 17 00:00:00 2001 From: tony Date: Mon, 15 May 2023 16:23:13 -0700 Subject: [PATCH] Removed image optimization error. will update to latest import method later. --- next.config.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/next.config.js b/next.config.js index 7588ce4..e348845 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,7 @@ +//need to convert to modern import method: https://nextjs.org/docs/pages/building-your-application/deploying/static-exports + const nextConfig = { + // This is the base path for your application. basePath: "", @@ -9,7 +12,13 @@ const nextConfig = { exportPathMap: async function () { return { "/pages/*": { page: "./pages/*" }, + }; + + }, + //This disables image optimization. + images: { + unoptimized: true, }, };