diff --git a/src/utils/costum.js b/src/utils/costum.js index 55085e1..1e35661 100644 --- a/src/utils/costum.js +++ b/src/utils/costum.js @@ -90,3 +90,8 @@ export function praseStrEmpty(str) { } return str } + + +export function download(str) { + location.href=location.host+str +}