Remove external reference
This commit is contained in:
		
							parent
							
								
									a06573253d
								
							
						
					
					
						commit
						175f1088a9
					
				|  | @ -1,17 +1,15 @@ | ||||||
| package web | package web | ||||||
| 
 | 
 | ||||||
| import ( | import ( | ||||||
| 	"doolta.com/api/auth" |  | ||||||
| 	"github.com/gofiber/fiber/v2" | 	"github.com/gofiber/fiber/v2" | ||||||
| 	"github.com/gofiber/fiber/v2/middleware/adaptor" |  | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| func (s *Server) Routes() { | func (s *Server) Routes() { | ||||||
| 	s.router.Get("/hello", func(c *fiber.Ctx) error { | 	s.router.Get("/hello", func(c *fiber.Ctx) error { | ||||||
| 		return c.SendString("Hello, World!") | 		return c.SendString("Hello, World!") | ||||||
| 	}) | 	}) | ||||||
| 	s.router.Get("/login", adaptor.HTTPHandlerFunc(auth.LoginHandler)) |  | ||||||
| 	/* | 	/* | ||||||
|  | 		s.router.Get("/login", adaptor.HTTPHandlerFunc(auth.LoginHandler)) | ||||||
| 			r.HandleFunc("/logout", auth.LogoutHandler).Methods("GET") | 			r.HandleFunc("/logout", auth.LogoutHandler).Methods("GET") | ||||||
| 			r.HandleFunc("/login_check", auth.LoginCheckHandler).Methods("POST") | 			r.HandleFunc("/login_check", auth.LoginCheckHandler).Methods("POST") | ||||||
| 			r.HandleFunc("/signup", auth.SignupHandler).Methods("GET") | 			r.HandleFunc("/signup", auth.SignupHandler).Methods("GET") | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue