mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-06-28 18:07:36 +00:00
update proxy
This commit is contained in:
parent
30564ef9ba
commit
326a336ea7
@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
export const HttpURL = {
|
export const HttpURL = {
|
||||||
ClusterNodes: `/status/cluster/nodes`,
|
ClusterNodes: `/api/status/cluster/nodes`,
|
||||||
ConfigTTL: `/status/config/ttl`,
|
ConfigTTL: `/api/status/config/ttl`,
|
||||||
DebuggingConfigDump: `/debugging/config/dump`,
|
DebuggingConfigDump: `/api/debugging/config/dump`,
|
||||||
};
|
};
|
||||||
|
@ -188,7 +188,7 @@ limitations under the License. -->
|
|||||||
/*global Nullable, Recordable*/
|
/*global Nullable, Recordable*/
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const dashboardStore = useDashboardStore();
|
const dashboardStore = useDashboardStore();
|
||||||
const pageSize = 20;
|
const pageSize = 12;
|
||||||
const dashboards = ref<DashboardItem[]>([]);
|
const dashboards = ref<DashboardItem[]>([]);
|
||||||
const searchText = ref<string>("");
|
const searchText = ref<string>("");
|
||||||
const loading = ref<boolean>(false);
|
const loading = ref<boolean>(false);
|
||||||
|
@ -75,6 +75,10 @@ export default ({ mode }: ConfigEnv): UserConfig => {
|
|||||||
target: `${VITE_SW_PROXY_TARGET || "http://127.0.0.1:12800"}`,
|
target: `${VITE_SW_PROXY_TARGET || "http://127.0.0.1:12800"}`,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
},
|
},
|
||||||
|
"/api": {
|
||||||
|
target: `${VITE_SW_PROXY_TARGET || "http://127.0.0.1:12800"}`,
|
||||||
|
rewrite: (path) => path.replace(/^\/api/, ""),
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
|
Loading…
Reference in New Issue
Block a user