-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
had to omit using shared middleware - not sure if this will impact anything. this is because bolt runs their own custom middleware and using our shared middleware for this path runs into errors. additionally, we might want to version it better
- Loading branch information
Showing
3 changed files
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
import express from "express" | ||
|
||
import { formSgRouter } from "./formsg" | ||
import { isobotRouter } from "./isobot" | ||
|
||
const ROUTE_PREFIX = "/v2/infra" | ||
const ROUTE_PREFIX_ISOBOT = "/v2/isobot" | ||
|
||
export const v2Router = express.Router() | ||
|
||
v2Router.use(ROUTE_PREFIX, formSgRouter) | ||
v2Router.use(ROUTE_PREFIX_ISOBOT, isobotRouter) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters