Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
#323 add a version parameter to the request so that we won't get perm…
Browse files Browse the repository at this point in the history
…anent redirect kicking in from 1.0
  • Loading branch information
FredLL-Avaiga committed Jul 7, 2022
1 parent a03d02a commit 20cef7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/src/components/pages/TaipyRendered.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const TaipyRendered = (props: TaipyRenderedProps) => {
dispatch(createPartialAction(path.slice(1), false));
} else {
axios
.get<AxiosRenderer>(`/taipy-jsx${path}`, {params: {client_id: state.id || ""}})
.get<AxiosRenderer>(`/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);
Expand Down

0 comments on commit 20cef7a

Please sign in to comment.