This website works better with JavaScript.
Home
Explore
Help
Sign In
jrtechs
/
jrtechs-github-graphs
mirror of
https://github.com/jrtechs/github-graphs.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
1
Wiki
Activity
Browse Source
Renamed old api routes file
pull/28/head
Peter Morgan
5 years ago
parent
dc4d30ef98
commit
add6b82e78
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-0
routes/api/v1.js
+2
-2
routes/index.js
routes/api.js → routes/api/v1.js
View File
+ 2
- 2
routes/index.js
View File
@ -1,6 +1,6 @@
const
routes
=
require
(
'express'
)
.
Router
(
)
;
const
api
=
require
(
'./api'
)
;
routes
.
use
(
'/api'
,
api
)
;
const
api
V1
=
require
(
'./api
/v1
'
)
;
routes
.
use
(
'/api'
,
api
V1
)
;
routes
.
get
(
"/"
,
(
request
,
response
)
=>
{
response
.
redirect
(
"index.html"
)
;
Write
Preview
Loading…
Cancel
Save