router, api and stuff

This commit is contained in:
Flummi
2019-04-25 18:00:47 +00:00
parent 54ea970a3e
commit fb633ba64f
8 changed files with 145 additions and 67 deletions

5
src/inc/routes/index.mjs Normal file
View File

@ -0,0 +1,5 @@
import router from "../router";
router.get(/^\/$/, (req, res) => {
res.end("index lol");
});