Skip to content

Commit

Permalink
fix: add hardcoded allow url for CORS svipper (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
mortennordseth committed Aug 2, 2024
1 parent 11535e2 commit 54a9684
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/api/departures/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,7 @@ export default handlerWithDepartureClient<AutocompleteApiReturnType>(
/\.reisnordland.no$/,
'https://reisnordland.com',
/\.reisnordland.com$/,
'https://svipper.no',
/\.svipper.no$/,
],
);

0 comments on commit 54a9684

Please sign in to comment.