Revert "fix: add missing proxy routes and API keys for Core API endpoints"
This reverts commit c00dcfbfbb.
This commit is contained in:
@@ -570,7 +570,7 @@ case 'search_keyword': {
|
||||
return { url: `/api/v1/file/${a.fileUuid}/cluster-agent`, method: 'POST', body: { confirm: true }, timeout: 600000 }
|
||||
}
|
||||
case 'get_cluster_results': {
|
||||
return { url: `/api/v1/file/${a.fileHash}/json/face_cluster`, method: 'POST', body: {}, requiresApiKey: true }
|
||||
return { url: `/api/v1/file/${a.fileHash}/json/face_cluster`, method: 'POST', body: {} }
|
||||
}
|
||||
case 'get_similar_face_groups': {
|
||||
const params = new URLSearchParams()
|
||||
|
||||
@@ -28,38 +28,6 @@ export default defineConfig({
|
||||
'.ddns.net'
|
||||
],
|
||||
proxy: {
|
||||
'/api/v1/trace-profile-file': {
|
||||
target: 'http://localhost:3002',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/api/v1/trace-profile': {
|
||||
target: 'http://localhost:3002',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/api/v1/cluster-results': {
|
||||
target: 'http://localhost:3002',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/api/v1/file/*/thumbnail': {
|
||||
target: 'http://localhost:3002',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/api/v1/file/*/json/face_cluster': {
|
||||
target: 'http://localhost:3002',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/api/v1/file/*/traces': {
|
||||
target: 'http://localhost:3002',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/api/v1/admin/config': {
|
||||
target: 'http://localhost:3002',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/api/v1/file-profile': {
|
||||
target: 'http://localhost:3002',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/api/v1': {
|
||||
target: 'http://localhost:8888',
|
||||
changeOrigin: true,
|
||||
|
||||
Reference in New Issue
Block a user