Skip to content

Commit

Permalink
bring back
Browse files Browse the repository at this point in the history
  • Loading branch information
motdotla committed Jun 15, 2024
1 parent c9eb98c commit de07d7c
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 @@ -85,7 +85,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 @@ -136,7 +136,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 de07d7c

Please sign in to comment.