From c53854722d48ee50887f1a47278bd6b81c728226 Mon Sep 17 00:00:00 2001 From: NanamiAdmin Date: Wed, 1 Apr 2026 22:01:35 +0800 Subject: [PATCH] refactor: reorganize logger module and update proxy display Move logger.js from root to utils directory for better project structure Update InstanceDetail view to show full remote address instead of just port --- src/utils/functions.js | 2 +- logger.js => src/utils/logger.js | 0 src/views/InstanceDetail.vue | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename logger.js => src/utils/logger.js (100%) diff --git a/src/utils/functions.js b/src/utils/functions.js index 5964284..f8fa60c 100644 --- a/src/utils/functions.js +++ b/src/utils/functions.js @@ -1,4 +1,4 @@ -import { postLog } from '../../logger.js'; +import { postLog } from './logger.js'; function showNotification(message, type = 'info') { const icons = { diff --git a/logger.js b/src/utils/logger.js similarity index 100% rename from logger.js rename to src/utils/logger.js diff --git a/src/views/InstanceDetail.vue b/src/views/InstanceDetail.vue index 6e235fa..5514a5e 100644 --- a/src/views/InstanceDetail.vue +++ b/src/views/InstanceDetail.vue @@ -199,8 +199,8 @@ {{ proxy.localIP }}:{{ proxy.localPort }}
- Remote Port - {{ proxy.remotePort }} + Remote Address + {{ instanceConfig['Server Address'] || '' }}:{{ proxy.remotePort }}