aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/fixtures/peertube-plugin-test-five/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/fixtures/peertube-plugin-test-five/main.js')
-rw-r--r--server/tests/fixtures/peertube-plugin-test-five/main.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/server/tests/fixtures/peertube-plugin-test-five/main.js b/server/tests/fixtures/peertube-plugin-test-five/main.js
deleted file mode 100644
index 07dd18654..000000000
--- a/server/tests/fixtures/peertube-plugin-test-five/main.js
+++ /dev/null
@@ -1,23 +0,0 @@
1async function register ({
2 getRouter
3}) {
4 const router = getRouter()
5 router.get('/ping', (req, res) => res.json({ message: 'pong' }))
6
7 router.get('/is-authenticated', (req, res) => res.json({ isAuthenticated: res.locals.authenticated }))
8
9 router.post('/form/post/mirror', (req, res) => {
10 res.json(req.body)
11 })
12}
13
14async function unregister () {
15 return
16}
17
18module.exports = {
19 register,
20 unregister
21}
22
23// ###########################################################################