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