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:
@@ -1,4 +1,4 @@
|
|||||||
import { postLog } from '../../logger.js';
|
import { postLog } from './logger.js';
|
||||||
|
|
||||||
function showNotification(message, type = 'info') {
|
function showNotification(message, type = 'info') {
|
||||||
const icons = {
|
const icons = {
|
||||||
|
|||||||
@@ -199,8 +199,8 @@
|
|||||||
<span class="config-value">{{ proxy.localIP }}:{{ proxy.localPort }}</span>
|
<span class="config-value">{{ proxy.localIP }}:{{ proxy.localPort }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="config-item proxy-detail">
|
<div class="config-item proxy-detail">
|
||||||
<span class="config-key">Remote Port</span>
|
<span class="config-key">Remote Address</span>
|
||||||
<span class="config-value">{{ proxy.remotePort }}</span>
|
<span class="config-value">{{ instanceConfig['Server Address'] || '' }}:{{ proxy.remotePort }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user