claude rework
This commit is contained in:
1 parent
a2e2ff141e
commit
b4874ad318
63 files changed
+5945
-1752
No files matched your search
+6
-28
@@ -16,39 +16,17 @@ export default defineConfig({
|
||||
|
||||
server: {
|
||||
proxy: {
|
||||
'/login/rss': {
|
||||
target: 'http://localhost:8001/api/v1/auth/login',
|
||||
'/api': {
|
||||
target: 'http://localhost:8001',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
rewrite: (path) => path.replace(/^\/login\/rss/, ''),
|
||||
},
|
||||
'/feeds/get': {
|
||||
target: 'http://localhost:8001/api/v1/article/get',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
rewrite: (path) => path.replace(/^\/feeds\/get/, ''),
|
||||
},
|
||||
'/feeds/sync': {
|
||||
target: 'http://localhost:8001/api/v1/article/sync',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
rewrite: (path) => path.replace(/^\/feeds\/sync/, ''),
|
||||
},
|
||||
'/feeds/read': {
|
||||
target: 'http://localhost:8001/api/v1/article/read',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
rewrite: (path) => path.replace(/^\/feeds\/read/, ''),
|
||||
},
|
||||
'/feeds/add': {
|
||||
target: 'http://localhost:8001/api/v1/article/add',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
rewrite: (path) => path.replace(/^\/feeds\/add/, ''),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
cors: false
|
||||
test: {
|
||||
environment: 'jsdom',
|
||||
globals: true,
|
||||
},
|
||||
|
||||
})
|
||||
Reference in new issue
Block a user