Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
motdotla committed Jun 16, 2024
1 parent c9e6141 commit 362b6a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ app.get('/install.sh', (req, res) => {
})
})

app.get('/:os/:arch(*)', async (req, res) => {
app.get('/v2/:os/:arch(*)', async (req, res) => {
const os = req.params.os.toLowerCase()
let arch = req.params.arch.toLowerCase()
let version = req.query.version
Expand Down Expand Up @@ -144,7 +144,7 @@ app.get('/:os/:arch(*)', async (req, res) => {
}
})

app.get('/deprecated/:os/:arch', async (req, res) => {
app.get('/:os/:arch', async (req, res) => {
const os = req.params.os.toLowerCase()
let arch = req.params.arch.toLowerCase()
let version = req.query.version
Expand Down

0 comments on commit 362b6a9

Please sign in to comment.