Leon4gr45 commited on
Commit
f9687ee
·
verified ·
1 Parent(s): bb4da7e

Upload folder using huggingface_hub (part 3)

Browse files
server/src/nest/platform/platform.routes.ts CHANGED
@@ -112,7 +112,6 @@ export function applyPlatformUploads(app: express.Application): void {
112
  * same as when they were function-local inside createApp.
113
  */
114
  export function applyPlatformTransport(app: express.Application): void {
115
- app.get('/health', (_req: Request, res: Response) => res.status(200).send('OK'));
116
  app.get('/api/health', (_req: Request, res: Response) => {
117
  res.setHeader('Cache-Control', 'no-store, must-revalidate')
118
  res.json({ status: 'ok' })
 
112
  * same as when they were function-local inside createApp.
113
  */
114
  export function applyPlatformTransport(app: express.Application): void {
 
115
  app.get('/api/health', (_req: Request, res: Response) => {
116
  res.setHeader('Cache-Control', 'no-store, must-revalidate')
117
  res.json({ status: 'ok' })