mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 18:52:26 -05:00 
			
		
		
		
	Messing around a bit
This commit is contained in:
		
					parent
					
						
							
								9ffbb353d0
							
						
					
				
			
			
				commit
				
					
						c879e1b0b3
					
				
			
		
					 5 changed files with 30 additions and 11 deletions
				
			
		|  | @ -39,14 +39,10 @@ func (r *router) Route() { | |||
| 	ginRouter.LoadHTMLGlob("web/template/*") | ||||
| 
 | ||||
| 	apiGroup := ginRouter.Group("/api") | ||||
| 	{ | ||||
| 		v1 := apiGroup.Group("/v1", { | ||||
| 			statusesGroup := v1.Group("/statuses") | ||||
| 			{ | ||||
| 				statusesGroup.GET(":id", statusGet) | ||||
| 			} | ||||
| 
 | ||||
| 		}) | ||||
| 	} | ||||
| 	 | ||||
| 	v1 := apiGroup.Group("/v1") | ||||
| 	 | ||||
| 	statusesGroup := v1.Group("/statuses") | ||||
| 	statusesGroup.GET(":id", statusGet) | ||||
| 	ginRouter.Run() | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue