-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroutes.js
27 lines (23 loc) · 970 Bytes
/
routes.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
const { Router } = require("express")
const Mine = require('./app/functions/mine')
const Randomicos = require('./app/functions/randomicos')
const Curiosidades = require('./app/functions/curiosidades')
const History = require('./app/functions/history')
const Games = require("./app/functions/games")
const Status = require("./app/functions/status")
const Pula = require("./app/functions/pula")
const GtaWeather = require("./app/functions/gtaweather")
const Charadas = require('./app/functions/charadas')
const Lastfm = require('./app/functions/lastfm')
const routes = new Router()
routes.get('/mine', Mine.show)
routes.get('/random', Randomicos.show)
routes.get('/curiosidades', Curiosidades.show)
routes.get('/history', History.show)
routes.get('/games', Games.show)
routes.get('/status', Status.show)
routes.get('/pula', Pula.show)
routes.get('/gta', GtaWeather.show)
routes.get('/charadas', Charadas.show)
routes.get('/lastfm', Lastfm.show)
module.exports = routes