Skip to content

Commit

Permalink
route
Browse files Browse the repository at this point in the history
  • Loading branch information
polymorpher committed Nov 12, 2023
1 parent 2f71ffd commit 5c7e1b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions voice/relay/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import cookieParser from 'cookie-parser'
import morgan from 'morgan'
import createError from 'http-errors'
// import apiRouter from './routes/hard.js'
import apiRouter from './routes/soft.js'
import softRateLimitedApiRouter from './routes/soft.js'
import fs from 'fs'
import http, { type Server as HttpServer } from 'http'
import https from 'https'
Expand Down Expand Up @@ -64,7 +64,7 @@ app.options('*', async (_req, res) => {
res.end()
})

app.use('/', apiRouter)
app.use('/soft', softRateLimitedApiRouter)

// catch 404 and forward to error handler
app.use(function (req, res, next) {
Expand Down

0 comments on commit 5c7e1b9

Please sign in to comment.