diff options
author | Marvin Borner | 2019-03-05 13:57:17 +0100 |
---|---|---|
committer | Marvin Borner | 2019-03-05 13:57:17 +0100 |
commit | d961b7a75bf3f0d25339214e1a9535533a25fd36 (patch) | |
tree | 8bec8d9c57108b3cbfc8fd612fcce805632cac00 /src/routes.js | |
parent | 32b83c0fca73a83d51f6c6dbe7378a3cdc75703b (diff) |
Refactored code structure
Diffstat (limited to 'src/routes.js')
-rw-r--r-- | src/routes.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/routes.js b/src/routes.js deleted file mode 100644 index 65ac32d..0000000 --- a/src/routes.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * routes.js - * Copyright (c) 2019, Texx - * License: MIT - * See https://github.com/texxme/Texx/blob/master/LICENSE - */ - -import { Router } from 'express'; - -const routes = Router(); - -/** - * GET home page - */ -routes.get('/', (req, res) => { - res.render('index'); -}); - -export default routes; |