diff options
Diffstat (limited to 'routes')
-rw-r--r-- | routes/api/v1/index.js (renamed from routes/api/index.js) | 0 | ||||
-rw-r--r-- | routes/api/v1/pods.js (renamed from routes/api/pods.js) | 4 | ||||
-rw-r--r-- | routes/api/v1/remoteVideos.js (renamed from routes/api/remoteVideos.js) | 4 | ||||
-rw-r--r-- | routes/api/v1/videos.js (renamed from routes/api/videos.js) | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/routes/api/index.js b/routes/api/v1/index.js index 9a4ec8438..9a4ec8438 100644 --- a/routes/api/index.js +++ b/routes/api/v1/index.js | |||
diff --git a/routes/api/pods.js b/routes/api/v1/pods.js index 8fa29b4f7..961388fcb 100644 --- a/routes/api/pods.js +++ b/routes/api/v1/pods.js | |||
@@ -3,8 +3,8 @@ | |||
3 | 3 | ||
4 | var express = require('express') | 4 | var express = require('express') |
5 | var router = express.Router() | 5 | var router = express.Router() |
6 | var middleware = require('../../middlewares') | 6 | var middleware = require('../../../middlewares') |
7 | var pods = require('../../src/pods') | 7 | var pods = require('../../../src/pods') |
8 | 8 | ||
9 | function listPods (req, res, next) { | 9 | function listPods (req, res, next) { |
10 | pods.list(function (err, pods_list) { | 10 | pods.list(function (err, pods_list) { |
diff --git a/routes/api/remoteVideos.js b/routes/api/v1/remoteVideos.js index 2ae3ce5bc..88b8e879b 100644 --- a/routes/api/remoteVideos.js +++ b/routes/api/v1/remoteVideos.js | |||
@@ -3,8 +3,8 @@ | |||
3 | 3 | ||
4 | var express = require('express') | 4 | var express = require('express') |
5 | var router = express.Router() | 5 | var router = express.Router() |
6 | var middleware = require('../../middlewares') | 6 | var middleware = require('../../../middlewares') |
7 | var videos = require('../../src/videos') | 7 | var videos = require('../../../src/videos') |
8 | 8 | ||
9 | function addRemoteVideos (req, res, next) { | 9 | function addRemoteVideos (req, res, next) { |
10 | videos.addRemote(req.body.data, function (err, video) { | 10 | videos.addRemote(req.body.data, function (err, video) { |
diff --git a/routes/api/videos.js b/routes/api/v1/videos.js index 087fc96bc..246620ac6 100644 --- a/routes/api/videos.js +++ b/routes/api/v1/videos.js | |||
@@ -3,8 +3,8 @@ | |||
3 | 3 | ||
4 | var express = require('express') | 4 | var express = require('express') |
5 | var router = express.Router() | 5 | var router = express.Router() |
6 | var middleware = require('../../middlewares') | 6 | var middleware = require('../../../middlewares') |
7 | var videos = require('../../src/videos') | 7 | var videos = require('../../../src/videos') |
8 | 8 | ||
9 | function listVideos (req, res, next) { | 9 | function listVideos (req, res, next) { |
10 | videos.list(function (err, videos_list) { | 10 | videos.list(function (err, videos_list) { |