Skip to content

Commit

Permalink
fix api link
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlettmiss committed Jan 24, 2024
1 parent 9342dac commit ed57c60
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ui/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ const nextConfig = {
output: "export",
// reactStrictMode: true,
env: {
// // apiUrl: "http://localhost:8080/api",
apiUrl: "https://mypetjournal-lqkz3.ondigitalocean.app/api",
// apiUrl: "/api",
// apiUrl: "http://localhost:8080/api",
// apiUrl: "https://mypetjournal-lqkz3.ondigitalocean.app/api",
apiUrl: "/api",
},
images: {
unoptimized: true
unoptimized: true,
},
distDir: 'build'
distDir: "build",
}

module.exports = nextConfig

0 comments on commit ed57c60

Please sign in to comment.