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
 | ||||
| app.use(responseTime(responseTimeLogger)); | ||||
| 
 | ||||
| // Swagger
 | ||||
| app.get('/api', apiRouter); | ||||
| app.use('/api', apiRouter); | ||||
| 
 | ||||
| // Swagger
 | ||||
| app.use('/api-docs', swaggerUi.serve, swaggerMiddleware); | ||||
| 
 | ||||
| async function startServer() { | ||||
|  |  | |||
		Reference in a new issue