소스 검색

Pfad Change, File Change

Leonard Schulz (Arbeit) 2 년 전
부모
커밋
4c97d5234f
1개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      backend_nodejs/wbs_rechner_express.js

+ 2 - 2
backend_nodejs/wbs_rechner_express.js

@@ -15,11 +15,11 @@ const options = {
             description: 'Eine API für die Berechnung des Gesamteinkommens und die Gewährung von WBS.',
         },
     },
-    apis: ['app.js'],
+    apis: ['wbs_rechner_express.js'],
 };
 
 const specs = swaggerJsdoc(options);
-app.use('/api-docs', swaggerUi.serve, swaggerUi.setup(specs));
+app.use('/api', swaggerUi.serve, swaggerUi.setup(specs));
 
 /**
  * @swagger