/team -> /collective
This commit is contained in:
1 parent
c426e5a8d8
commit
769d04194f
3 files changed
+4
-5
No files matched your search
+1
-1
@@ -18,7 +18,7 @@ export default [
|
||||
},
|
||||
{
|
||||
"text": "Коллектив",
|
||||
"url": "/team",
|
||||
"url": "/collective",
|
||||
"color": "pink"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import route from 'koa-route';
|
||||
import {json} from './';
|
||||
import {index, json} from './';
|
||||
import db from '../core/db';
|
||||
import {getCourseNameByID} from '../models/course';
|
||||
import team from '../models/team';
|
||||
|
||||
+2
-3
@@ -10,7 +10,7 @@ import helmet from 'koa-helmet';
|
||||
import bodyParser from 'koa-bodyparser';
|
||||
|
||||
import config from './config';
|
||||
import routes from './routes';
|
||||
import {index} from './routes';
|
||||
|
||||
import sitemap from './routes/sitemap';
|
||||
import schedule from './routes/schedule';
|
||||
@@ -63,8 +63,7 @@ app.use(function *(next) {
|
||||
yield next;
|
||||
});
|
||||
|
||||
app.use(route.get('/', routes.index()));
|
||||
app.use(route.get('/team', routes.index()));
|
||||
app.use(route.get('/', index()));
|
||||
|
||||
sitemap(app);
|
||||
schedule(app);
|
||||
|
||||
Reference in new issue
Block a user