We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f09a50 commit 7896c8bCopy full SHA for 7896c8b
index.js
@@ -154,29 +154,6 @@ module.exports.makeApp = function () {
154
next()
155
})
156
157
- /*
158
- Route to check the status of the application by
159
- calling the package_search of backend with row count as 0
160
- to check whether the application is returning response or not
161
- */
162
- app.use('/status', async (req, res) => {
163
- const url = resolve(
164
- config.get('API_URL'),
165
- `package_search?rows=0`
166
- )
167
- const response = await fetch(url)
168
- if (response.ok) {
169
- const body = await response.json()
170
- if (body.success == true) {
171
- res.status(200).send('Ok')
172
- } else {
173
- res.status(400).send('Not Ok')
174
- }
175
-
176
177
- })
178
179
180
loadPlugins(app)
181
loadTheme(app)
182
0 commit comments