Created
December 12, 2018 17:43
-
-
Save alexpermiakov/6cbb78eb764fef59818ad09426b28ea3 to your computer and use it in GitHub Desktop.
Basic search routing
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
import { Request, Response } from "express"; | |
export default [ | |
{ | |
path: "/", | |
method: "get", | |
handler: async (req: Request, res: Response) => { | |
res.send("Hello world!"); | |
} | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment