fix(backend): Use /api i.p.v. get
This commit is contained in:
		
							parent
							
								
									5010ee3b0b
								
							
						
					
					
						commit
						6b66b2e366
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -21,9 +21,9 @@ app.use(authenticateUser); | ||||||
| // Add response time logging
 | // Add response time logging
 | ||||||
| app.use(responseTime(responseTimeLogger)); | app.use(responseTime(responseTimeLogger)); | ||||||
| 
 | 
 | ||||||
| // Swagger
 | app.use('/api', apiRouter); | ||||||
| app.get('/api', apiRouter); |  | ||||||
| 
 | 
 | ||||||
|  | // Swagger
 | ||||||
| app.use('/api-docs', swaggerUi.serve, swaggerMiddleware); | app.use('/api-docs', swaggerUi.serve, swaggerMiddleware); | ||||||
| 
 | 
 | ||||||
| async function startServer() { | async function startServer() { | ||||||
|  |  | ||||||
		Reference in a new issue