mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-18 10:29:08 +00:00
chore: fix build & emulation
This commit is contained in:
parent
462ef26ea2
commit
3ca37cff17
5 changed files with 13 additions and 7 deletions
|
@ -1,3 +1,4 @@
|
|||
import { interactionHandler } from '@roleypoly/interactions/handlers/interaction';
|
||||
import { respond } from '@roleypoly/worker-utils';
|
||||
import { Router } from '@roleypoly/worker-utils/router';
|
||||
import { healthz } from './handlers/healthz';
|
||||
|
@ -5,7 +6,8 @@ import { uiPublicURI } from './utils/config';
|
|||
|
||||
const router = new Router();
|
||||
|
||||
router.add('GET', '/_healthz', healthz);
|
||||
router.add('GET', '_healthz', healthz);
|
||||
router.add('POST', 'interaction', interactionHandler);
|
||||
|
||||
// Root Zen <3
|
||||
router.addFallback('root', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue