mirror of
				https://github.com/kenzok8/openwrt-packages.git
				synced 2025-10-30 07:50:37 +08:00 
			
		
		
		
	update 2025-06-12 02:26:57
This commit is contained in:
		| @ -48,13 +48,10 @@ function renderStatus(isRunning, listen_port, noweb) { | ||||
|     } | ||||
|      | ||||
|     if (isRunning && noweb !== '1') { | ||||
|         html += String.format( | ||||
|             ' <a class="btn cbi-button" href="%s:%s" target="_blank">%s</a>', | ||||
|             window.location.origin,  | ||||
|             listen_port,  | ||||
|             _('Open Web Interface') | ||||
|         ); | ||||
|     } | ||||
|         const baseUrl = `${window.location.protocol}//${window.location.hostname}`; | ||||
|         const fullUrl = `${baseUrl}:${listen_port}`; | ||||
|         html += String.format(' <a class="btn cbi-button" href="%s" target="_blank">%s</a>', fullUrl, _('Open Web Interface')); | ||||
|      } | ||||
|      | ||||
|     return html; | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 actions-user
					actions-user