diff --git a/src/utils/helper.js b/src/utils/helper.js index bfe7f050..31c787e2 100644 --- a/src/utils/helper.js +++ b/src/utils/helper.js @@ -45,10 +45,7 @@ export const urlHasParams = (url) => export const urlForLocal = (url) => process.env.NODE_ENV === "development" ? `https://itguild.info${url}` : url; -export const backendImg = (url) => - process.env.NODE_ENV === "development" - ? `https://back.itguild.info${url}` - : url; +export const backendImg = (url) => `https://back.itguild.info${url}` export function scrollToForm() { window.scrollTo({