Skip to content

Commit

Permalink
feat(fe-piattaforma): fe updates 10272022
Browse files Browse the repository at this point in the history
  • Loading branch information
Niccolo Valente committed Oct 27, 2022
1 parent 79b19b3 commit f178536
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion fe-piattaforma/src/redux/features/forum/forumThunk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1011,8 +1011,12 @@ export const ActionTracker =
codiceRuolo,
idProgramma,
});
let BE_url = `${process?.env?.REACT_APP_BE_BASE_URL}/`
if (BE_url?.charAt(BE_url?.length - 1) === '/') {
BE_url = BE_url.slice(0, -1);
}
axios.post(
`${process?.env?.REACT_APP_BE_BASE_URL}/drupal/forward`.replaceAll(
`${BE_url}/drupal/forward`.replaceAll(
'//',
'/'
),
Expand Down

0 comments on commit f178536

Please sign in to comment.