|
@@ -1,4 +1,3 @@
|
|
|
-import OError from '@overleaf/o-error'
|
|
|
|
|
import * as HttpController from './HttpController.js'
|
|
import * as HttpController from './HttpController.js'
|
|
|
|
|
|
|
|
export function initialize(app) {
|
|
export function initialize(app) {
|
|
@@ -88,10 +87,6 @@ export function initialize(app) {
|
|
|
|
|
|
|
|
app.get('/status', (req, res, next) => res.send('project-history is up'))
|
|
app.get('/status', (req, res, next) => res.send('project-history is up'))
|
|
|
|
|
|
|
|
- app.get('/oops', function (req, res, next) {
|
|
|
|
|
- throw new OError('dummy test error')
|
|
|
|
|
- })
|
|
|
|
|
-
|
|
|
|
|
app.get('/check_lock', HttpController.checkLock)
|
|
app.get('/check_lock', HttpController.checkLock)
|
|
|
|
|
|
|
|
app.get('/health_check', HttpController.healthCheck)
|
|
app.get('/health_check', HttpController.healthCheck)
|