feat: adding openapi spect generation to the frontend client aas well as to fast api. Broke API out into different routes
This commit is contained in:
@@ -6,7 +6,7 @@ const nextConfig = {
|
||||
source: '/api/:path*',
|
||||
destination:
|
||||
process.env.NODE_ENV === 'development'
|
||||
? 'http://127.0.0.1:8000/api/:path*'
|
||||
? 'http://localhost:8000/api/:path*'
|
||||
: '/api/',
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user