From 036d46c4597d62b2a7e164dda8b4dac6aa03cc8f Mon Sep 17 00:00:00 2001
From: MeiMei <30769358+mei23@users.noreply.github.com>
Date: Sun, 11 Nov 2018 12:35:30 +0900
Subject: show self host in unicode (#3200)

---
 src/client/app/admin/views/instance.vue | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/client/app/admin/views/instance.vue')

diff --git a/src/client/app/admin/views/instance.vue b/src/client/app/admin/views/instance.vue
index c2a2060370..cb4a6f5850 100644
--- a/src/client/app/admin/views/instance.vue
+++ b/src/client/app/admin/views/instance.vue
@@ -83,12 +83,13 @@
 import Vue from 'vue';
 import i18n from '../../i18n';
 import { host } from '../../config';
+import { toUnicode } from 'punycode';
 
 export default Vue.extend({
 	i18n: i18n('admin/views/instance.vue'),
 	data() {
 		return {
-			host,
+			host: toUnicode(host),
 			maintainerName: null,
 			maintainerEmail: null,
 			disableRegistration: false,
-- 
cgit v1.2.3-freya

