Skip to content

Commit

Permalink
Revert "Fix path"
Browse files Browse the repository at this point in the history
This reverts commit 0e80d77.
Shaikh-Ubaid committed Aug 22, 2022
1 parent 0e80d77 commit e881b20
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/index.js
Original file line number Diff line number Diff line change
@@ -2,6 +2,6 @@ const dev = process.env.NODE_ENV !== "production";

export const myServer = dev
? ""
: "/pull_request_preview";
: "";

// export const imgs = `${server}/imgs`;
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e881b20

Please sign in to comment.