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
This commit is contained in:
NanamiAdmin committed 2026-04-01 22:01:35 +08:00
1 parent 14b959fcc2
commit c53854722d
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import { postLog } from '../../logger.js';
import { postLog } from './logger.js';
function showNotification(message, type = 'info') {
const icons = {
View File
File renamed without changes.
+2 -2
View File
@@ -199,8 +199,8 @@
<span class="config-value">{{ proxy.localIP }}:{{ proxy.localPort }}</span>
</div>
<div class="config-item proxy-detail">
<span class="config-key">Remote Port</span>
<span class="config-value">{{ proxy.remotePort }}</span>
<span class="config-key">Remote Address</span>
<span class="config-value">{{ instanceConfig['Server Address'] || '' }}:{{ proxy.remotePort }}</span>
</div>
</div>
</div>