Skip to content

Commit

Permalink
chore: bask path 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
iOdiO89 committed Jun 23, 2024
1 parent 067fd53 commit 2518db8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
/** @type {import('next').NextConfig} */

const prefix =
process.env.NODE_ENV === "production"
? "https://team-ollie.github.io/WeCare-FE"
: "";

const nextConfig = {
images: {
domains: ["image.tmdb.org"],
Expand All @@ -16,6 +22,8 @@ const nextConfig = {
},
output: "export",
distDir: "dist",
basePath: prefix,
trailingSlash: true,
};

module.exports = nextConfig;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "wecare-fe",
"version": "0.1.0",
"private": true,
"homepage": "https://team-ollie.github.io/WeCare-FE/home",
"homepage": "https://team-ollie.github.io/WeCare-FE/home/",
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down

0 comments on commit 2518db8

Please sign in to comment.