Chore: Api route fix and vercel.json removed
This commit is contained in:
parent
79af2ba79e
commit
6e1cdf4509
|
@ -1,13 +0,0 @@
|
|||
{
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/api",
|
||||
"destination": "https://code-search.qdrant.tech/api/"
|
||||
|
||||
},
|
||||
{
|
||||
"source": "/api/:path*",
|
||||
"destination": "https://code-search.qdrant.tech/api/:path*"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -13,7 +13,7 @@ export default defineConfig({
|
|||
server: {
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: "https://code-search.qdrant.tech/",
|
||||
target: "http://0.0.0.0:8000",
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue