Skip to content

Commit

Permalink
Merge pull request #584 from alemayhu/fix/allow-templates2anki
Browse files Browse the repository at this point in the history
fix: allow requests coming from templates.2anki.net
  • Loading branch information
aalemayhu authored Apr 11, 2022
2 parents 225f82f + 368e0ff commit bcd4a75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const ALLOWED_ORIGINS = [
"https://dev.notion.2anki.net",
"https://notion.2anki.net/",
"https://staging.2anki.net/",
"https://templates.2anki.net/",
];

export function resolvePath(dir: string, x: string) {
Expand Down

0 comments on commit bcd4a75

Please sign in to comment.