diff options
author | vantezzen <properly@protonmail.com> | 2019-08-23 16:50:37 +0200 |
---|---|---|
committer | vantezzen <properly@protonmail.com> | 2019-08-23 16:50:37 +0200 |
commit | e00a1987866a804f2ae6e3206bd583df703663e8 (patch) | |
tree | a7d4ce509bc220105d5302ff1172d8556fabf47e /app/Controllers/Http/ServiceController.js | |
parent | Add workspaces to feature list (diff) | |
download | ferdium-server-e00a1987866a804f2ae6e3206bd583df703663e8.tar.gz ferdium-server-e00a1987866a804f2ae6e3206bd583df703663e8.tar.zst ferdium-server-e00a1987866a804f2ae6e3206bd583df703663e8.zip |
Add recipe store
Diffstat (limited to 'app/Controllers/Http/ServiceController.js')
-rw-r--r-- | app/Controllers/Http/ServiceController.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/Controllers/Http/ServiceController.js b/app/Controllers/Http/ServiceController.js index 4c908ac..d1adea3 100644 --- a/app/Controllers/Http/ServiceController.js +++ b/app/Controllers/Http/ServiceController.js | |||
@@ -90,13 +90,6 @@ class ServiceController { | |||
90 | 90 | ||
91 | return response.send(servicesArray) | 91 | return response.send(servicesArray) |
92 | } | 92 | } |
93 | |||
94 | // Download a recipe (currently simply redirects to Franz's API) | ||
95 | download({ request, response, params }) { | ||
96 | const service = params.recipe; | ||
97 | |||
98 | response.redirect('https://api.franzinfra.com/v1/recipes/download/' + service) | ||
99 | } | ||
100 | } | 93 | } |
101 | 94 | ||
102 | module.exports = ServiceController | 95 | module.exports = ServiceController |