a cache for slack profile pictures and emojis

feat: add cors

Changed files
+3
src
bun.lockb

This is a binary file and will not be displayed.

+1
package.json
···
"dev": "bun run --watch src/index.ts"
},
"dependencies": {
+
"@elysiajs/cors": "^1.1.1",
"@elysiajs/swagger": "^1.1.6",
"@tqman/nice-logger": "^1.0.7",
"@types/node-cron": "^3.0.11",
+2
src/index.ts
···
import { Elysia, t } from "elysia";
import { logger } from "@tqman/nice-logger";
import { swagger } from "@elysiajs/swagger";
+
import { cors } from "@elysiajs/cors";
import { version } from "../package.json";
import { SlackCache } from "./cache";
import { SlackWrapper } from "./slackWrapper";
···
mode: "combined",
}),
)
+
.use(cors())
.use(
swagger({
documentation: {