Files
omnivore/packages/api/src/utils/corsConfig.ts
2022-06-16 10:46:06 +08:00

14 lines
323 B
TypeScript

export const corsConfig = {
credentials: true,
origin: [
'https://omnivore.app',
'https://dev.omnivore.app',
'https://demo.omnivore.app',
'https://web-prod.omnivore.app',
'https://web-dev.omnivore.app',
'https://web-demo.omnivore.app',
'http://localhost:3000',
'lsp://logseq.io',
],
}