task files

This commit is contained in:
Николай Полтщук 2023-07-13 15:55:09 +03:00
parent d92578c517
commit f87100138b

View File

@ -45,10 +45,7 @@ export const urlHasParams = (url) =>
export const urlForLocal = (url) => export const urlForLocal = (url) =>
process.env.NODE_ENV === "development" ? `https://itguild.info${url}` : url; process.env.NODE_ENV === "development" ? `https://itguild.info${url}` : url;
export const backendImg = (url) => export const backendImg = (url) => `https://back.itguild.info${url}`
process.env.NODE_ENV === "development"
? `https://back.itguild.info${url}`
: url;
export function scrollToForm() { export function scrollToForm() {
window.scrollTo({ window.scrollTo({