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:
lucas.oskorep committed 2023-07-17 02:51:13 -04:00
1 parent 4a20152ff5
commit 9aa9122e2b
35 files changed
+1132 -27146

No files matched your search

+1 -1
View File
@@ -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/',
},
]