BSJ2004 commited on
Commit
0a01e27
·
verified ·
1 Parent(s): 50f03da

Upload next.config.js with huggingface_hub

Browse files
Files changed (1) hide show
  1. next.config.js +8 -0
next.config.js CHANGED
@@ -5,6 +5,14 @@ const nextConfig = {
5
  images: {
6
  domains: ['huggingface.co'],
7
  },
 
 
 
 
 
 
 
 
8
  };
9
 
10
  module.exports = nextConfig;
 
5
  images: {
6
  domains: ['huggingface.co'],
7
  },
8
+ async rewrites() {
9
+ return [
10
+ {
11
+ source: '/api/:path*',
12
+ destination: '/api/:path*',
13
+ },
14
+ ];
15
+ },
16
  };
17
 
18
  module.exports = nextConfig;