diff --git a/config/index.js b/config/index.js index 08f26ec..e52f616 100644 --- a/config/index.js +++ b/config/index.js @@ -2,6 +2,6 @@ const dev = process.env.NODE_ENV !== "production"; export const myServer = dev ? "" - : "/pull_request_preview"; + : ""; // export const imgs = `${server}/imgs`; diff --git a/next.config.js b/next.config.js index 4a3a3d9..023f152 100644 --- a/next.config.js +++ b/next.config.js @@ -1,7 +1,7 @@ /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, - basePath: (process.env.NODE_ENV !== "production" ? "" : "/pull_request_preview") + basePath: (process.env.NODE_ENV !== "production" ? "" : "") } module.exports = nextConfig