From 2de48110bbc253ff4aa8457ea0cfed5a6fb5feb0 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 7 Nov 2018 00:44:56 +0900 Subject: ghostの設定をDBに保存するように MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/app/admin/views/instance.vue | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'src/client/app/admin/views') diff --git a/src/client/app/admin/views/instance.vue b/src/client/app/admin/views/instance.vue index 11f9d28fd2..5acb493332 100644 --- a/src/client/app/admin/views/instance.vue +++ b/src/client/app/admin/views/instance.vue @@ -13,8 +13,8 @@
%i18n:@drive-config%
%i18n:@cache-remote-files%%i18n:@cache-remote-files-desc% - %i18n:@local-drive-capacity-mb%%i18n:@mb%MB - %i18n:@remote-drive-capacity-mb%%i18n:@mb%MB + %i18n:@local-drive-capacity-mb%MB%i18n:@mb% + %i18n:@remote-drive-capacity-mb%MB%i18n:@mb%
%i18n:@recaptcha-config%
@@ -23,6 +23,12 @@ %i18n:@recaptcha-site-key% %i18n:@recaptcha-secret-key%
+
+
%i18n:@proxy-account-config%
+ %i18n:@proxy-account-info% + @%i18n:@proxy-account-username%%i18n:@proxy-account-username-desc% + %i18n:@proxy-account-warn% +
%i18n:@disable-registration%
@@ -62,6 +68,7 @@ export default Vue.extend({ enableRecaptcha: false, recaptchaSiteKey: null, recaptchaSecretKey: null, + proxyAccount: null, inviteCode: null, }; }, @@ -78,6 +85,7 @@ export default Vue.extend({ this.enableRecaptcha = meta.enableRecaptcha; this.recaptchaSiteKey = meta.recaptchaSiteKey; this.recaptchaSecretKey = meta.recaptchaSecretKey; + this.proxyAccount = meta.proxyAccount; }); }, @@ -106,7 +114,8 @@ export default Vue.extend({ maxNoteTextLength: parseInt(this.maxNoteTextLength, 10), enableRecaptcha: this.enableRecaptcha, recaptchaSiteKey: this.recaptchaSiteKey, - recaptchaSecretKey: this.recaptchaSecretKey + recaptchaSecretKey: this.recaptchaSecretKey, + proxyAccount: this.proxyAccount, }).then(() => { this.$swal({ type: 'success', -- cgit v1.2.3-freya