mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 09:00:50 +00:00
use /graphql/dashboard instead of /graphql
This commit is contained in:
parent
e6a9fd15f4
commit
7de6e80f85
@ -22,7 +22,7 @@ async function query(param: {
|
|||||||
conditions: { [key: string]: unknown };
|
conditions: { [key: string]: unknown };
|
||||||
}) {
|
}) {
|
||||||
const res: AxiosResponse = await axios.post(
|
const res: AxiosResponse = await axios.post(
|
||||||
"/graphql",
|
"/graphql/dashboard",
|
||||||
{ query: param.queryStr, variables: { ...param.conditions } },
|
{ query: param.queryStr, variables: { ...param.conditions } },
|
||||||
{
|
{
|
||||||
cancelToken: cancelToken(),
|
cancelToken: cancelToken(),
|
||||||
|
@ -48,7 +48,7 @@ class Graphql {
|
|||||||
public params(variablesData: unknown): AxiosPromise<void> {
|
public params(variablesData: unknown): AxiosPromise<void> {
|
||||||
return axios
|
return axios
|
||||||
.post(
|
.post(
|
||||||
"/graphql",
|
"/graphql/dashboard",
|
||||||
{
|
{
|
||||||
query: query[this.queryData],
|
query: query[this.queryData],
|
||||||
variables: variablesData,
|
variables: variablesData,
|
||||||
|
Loading…
Reference in New Issue
Block a user