mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 13:10:26 +08:00 
			
		
		
		
	
		
			
	
	
		
			15 lines
		
	
	
		
			359 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			359 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 
								 | 
							
								Tea.context(function () {
							 | 
						||
| 
								 | 
							
									this.success = NotifyPopup
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									this.rewriteRule = {
							 | 
						||
| 
								 | 
							
										mode: "proxy",
							 | 
						||
| 
								 | 
							
										redirectStatus: 307
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
									this.statusOptions = [
							 | 
						||
| 
								 | 
							
										{"code": 301, "text": "Moved Permanently"},
							 | 
						||
| 
								 | 
							
										{"code": 308, "text": "Permanent Redirect"},
							 | 
						||
| 
								 | 
							
										{"code": 302, "text": "Found"},
							 | 
						||
| 
								 | 
							
										{"code": 303, "text": "See Other"},
							 | 
						||
| 
								 | 
							
										{"code": 307, "text": "Temporary Redirect"}
							 | 
						||
| 
								 | 
							
									]
							 | 
						||
| 
								 | 
							
								})
							 |