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

Commit

Permalink
Merge pull request #325 from Avaiga/bug/#323-add-version-to-get-requests
Browse files Browse the repository at this point in the history
#323 add a version parameter to the request
  • Loading branch information
FredLL-Avaiga authored Jul 8, 2022
2 parents 7a079f2 + 20cef7a commit 1207243
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 1207243

Please sign in to comment.