Skip to content

Commit

Permalink
Merge pull request NTOU-Auction#61 from NTOU-Auction/feature/seller-o…
Browse files Browse the repository at this point in the history
…rder

Feature/seller order
  • Loading branch information
Shih-Hsuan authored Dec 20, 2023
2 parents 71a7080 + 940f85f commit b8f3b4a
Show file tree
Hide file tree
Showing 24 changed files with 6,125 additions and 4,941 deletions.
2 changes: 1 addition & 1 deletion lighthouserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"ci": {
"collect": {
"startServerCommand": "yarn run start",
"url": ["http://localhost:3000/chat"],
"url": ["http://localhost:3000/order"],
"numberOfRuns": 1
},
"upload": {
Expand Down
10 changes: 9 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
// output: 'export',
reactStrictMode: true,
swcMinify: true,
modularizeImports: {
Expand All @@ -25,6 +25,14 @@ const nextConfig = {
},
],
},
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'http://localhost:8080/api/:path*',
},
]
},
};

module.exports = nextConfig;
Loading

0 comments on commit b8f3b4a

Please sign in to comment.