Skip to content

Commit

Permalink
fix typo in services folder :D
Browse files Browse the repository at this point in the history
  • Loading branch information
mms-gianni committed Jan 20, 2023
1 parent 304cef0 commit 810cc03
Show file tree
Hide file tree
Showing 19 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/routes/services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Router.get('/services', authMiddleware, async function (req: Request, res: Respo
// #swagger.tags = ['UI']
// #swagger.summary = 'Get all services'

axios.get('https://raw.githubusercontent.com/kubero-dev/kubero/main/serivces/index.yaml')
axios.get('https://raw.githubusercontent.com/kubero-dev/kubero/main/services/index.yaml')
});


Expand All @@ -27,7 +27,7 @@ Router.get('/services/:name', authMiddleware, async function (req: Request, res:

const serviceName = req.params.name.replace(/[^\w.]+/g, '');

const service = await axios.get('https://raw.githubusercontent.com/kubero-dev/kubero/main/serivces/' + serviceName + '/app.yaml')
const service = await axios.get('https://raw.githubusercontent.com/kubero-dev/kubero/main/services/' + serviceName + '/app.yaml')
.catch((err) => {
res
.status(500)
Expand Down

0 comments on commit 810cc03

Please sign in to comment.