mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 13:10:26 +08:00 
			
		
		
		
	
		
			
	
	
		
			14 lines
		
	
	
		
			227 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			227 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package confirm
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import "github.com/iwind/TeaGo"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func init() {
							 | 
						||
| 
								 | 
							
									TeaGo.BeforeStart(func(server *TeaGo.Server) {
							 | 
						||
| 
								 | 
							
										server.
							 | 
						||
| 
								 | 
							
											Helper(new(Helper)).
							 | 
						||
| 
								 | 
							
											Prefix("/setup/confirm").
							 | 
						||
| 
								 | 
							
											GetPost("", new(IndexAction)).
							 | 
						||
| 
								 | 
							
											EndAll()
							 | 
						||
| 
								 | 
							
									})
							 | 
						||
| 
								 | 
							
								}
							 |