CognxSafeTrack commited on
Commit Β·
41e0fe9
1
Parent(s): 4b70b95
debug: temporarily disable bullboard to fix malformed url error
Browse files
apps/api/src/routes/internal.ts
CHANGED
|
@@ -31,12 +31,14 @@ export async function internalRoutes(fastify: FastifyInstance) {
|
|
| 31 |
serverAdapter,
|
| 32 |
});
|
| 33 |
|
|
|
|
| 34 |
serverAdapter.setBasePath('/v1/internal/queues');
|
| 35 |
fastify.register(serverAdapter.registerPlugin() as any, {
|
| 36 |
prefix: '/v1/internal/queues',
|
| 37 |
basePath: '/v1/internal/queues',
|
| 38 |
config: { requireAuth: true }
|
| 39 |
});
|
|
|
|
| 40 |
|
| 41 |
// ββ Handle Webhook Forwarding from Gateway (HF -> Railway) βββββββββββββββ
|
| 42 |
fastify.post('/v1/internal/whatsapp/inbound', {
|
|
|
|
| 31 |
serverAdapter,
|
| 32 |
});
|
| 33 |
|
| 34 |
+
/* Temporarily disabled BullBoard for diagnosis of FST_ERR_BAD_URL
|
| 35 |
serverAdapter.setBasePath('/v1/internal/queues');
|
| 36 |
fastify.register(serverAdapter.registerPlugin() as any, {
|
| 37 |
prefix: '/v1/internal/queues',
|
| 38 |
basePath: '/v1/internal/queues',
|
| 39 |
config: { requireAuth: true }
|
| 40 |
});
|
| 41 |
+
*/
|
| 42 |
|
| 43 |
// ββ Handle Webhook Forwarding from Gateway (HF -> Railway) βββββββββββββββ
|
| 44 |
fastify.post('/v1/internal/whatsapp/inbound', {
|