diff --git a/services/appview/src/index.ts b/services/appview/src/index.ts index 231e248..96efc82 100644 --- a/services/appview/src/index.ts +++ b/services/appview/src/index.ts @@ -1,6 +1,7 @@ import { DidResolver } from '@atproto/identity' import { serve } from '@hono/node-server' import { Hono } from 'hono' +import { cors } from 'hono/cors' import { HTTPException } from 'hono/http-exception' import { logger } from 'hono/logger' import { pino } from 'pino' @@ -81,6 +82,8 @@ export class Server { const app = new Hono() + app.use('*', cors()) + app.use('*', logger()) app.use('*', async (c, next) => {