Revert "Change links in webUI to rewrite misleading links (#11426)" (#11500)

This reverts commit b31b232edf.
This commit is contained in:
Eugen Rochko authored and GitHub committed 2019-08-06 12:09:28 +02:00
1 parent 111a0628fc
commit 1d8d553d8b
3 files changed
+10 -101

No files matched your search

-10
View File
@@ -1,10 +0,0 @@
import punycode from 'punycode';
const IDNA_PREFIX = 'xn--';
export const decode = domain => {
return domain
.split('.')
.map(part => part.indexOf(IDNA_PREFIX) === 0 ? punycode.decode(part.slice(IDNA_PREFIX.length)) : part)
.join('.');
};