mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			419 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			419 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
Tea.context(function () {
 | 
						|
	this.updateHTTP = function () {
 | 
						|
		teaweb.popup("/settings/server/updateHTTPPopup", {
 | 
						|
			callback: function () {
 | 
						|
				teaweb.success("保存成功", teaweb.reload)
 | 
						|
			}
 | 
						|
		})
 | 
						|
	}
 | 
						|
 | 
						|
	this.updateHTTPS = function () {
 | 
						|
		teaweb.popup("/settings/server/updateHTTPSPopup", {
 | 
						|
			height: "26em",
 | 
						|
			width:"50em",
 | 
						|
			callback: function () {
 | 
						|
				teaweb.success("保存成功", teaweb.reload)
 | 
						|
			}
 | 
						|
		})
 | 
						|
	}
 | 
						|
}) |