diff --git a/index.js b/index.js index 78e09ce..0126722 100644 --- a/index.js +++ b/index.js @@ -29,7 +29,7 @@ const main = async () => { const extension = match[2]; const target = match[3]; - forwards[`${type}/${extension}`] = target; + forwards[`${type}/${extension}`] = target.replace(/\s+$/, ''); } } }