mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 09:20:18 +08:00
完成 -apm 的全部更改,实现 spk://search,移除 spk://store
This commit is contained in:
@@ -77,10 +77,10 @@ export default defineConfig(({ command }) => {
|
||||
host: url.hostname,
|
||||
port: +url.port,
|
||||
proxy: {
|
||||
"/local_amd64-apm": {
|
||||
"/local_amd64-store": {
|
||||
target: "https://erotica.spark-app.store",
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/local_amd64-apm/, ""),
|
||||
rewrite: (path) => path.replace(/^\/local_amd64-store/, ""),
|
||||
},
|
||||
"/local_stats": {
|
||||
target: "https://feedback.spark-app.store",
|
||||
@@ -92,10 +92,10 @@ export default defineConfig(({ command }) => {
|
||||
} else {
|
||||
return {
|
||||
proxy: {
|
||||
"/local_amd64-apm": {
|
||||
"/local_amd64-store": {
|
||||
target: "https://erotica.spark-app.store",
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/local_amd64-apm/, ""),
|
||||
rewrite: (path) => path.replace(/^\/local_amd64-store/, ""),
|
||||
},
|
||||
"/local_stats": {
|
||||
target: "https://feedback.spark-app.store",
|
||||
|
||||
Reference in New Issue
Block a user