From 20cef7a7e16be960eb0819a63a7aaa9ad2ca2220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fred=20Lef=C3=A9v=C3=A8re-Laoide?= <90181748+FredLL-Avaiga@users.noreply.github.com> Date: Thu, 7 Jul 2022 18:54:06 +0200 Subject: [PATCH] #323 add a version parameter to the request so that we won't get permanent redirect kicking in from 1.0 --- gui/src/components/pages/TaipyRendered.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/src/components/pages/TaipyRendered.tsx b/gui/src/components/pages/TaipyRendered.tsx index 2a826fc64..1928526d6 100644 --- a/gui/src/components/pages/TaipyRendered.tsx +++ b/gui/src/components/pages/TaipyRendered.tsx @@ -61,7 +61,7 @@ const TaipyRendered = (props: TaipyRenderedProps) => { dispatch(createPartialAction(path.slice(1), false)); } else { axios - .get(`/taipy-jsx${path}`, {params: {client_id: state.id || ""}}) + .get(`/taipy-jsx${path}`, {params: {client_id: state.id || "", v: "1.1"}}) .then((result) => { // set rendered JSX and CSS style from fetch result typeof result.data.jsx === "string" && setJSX(result.data.jsx);