mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-07-29 03:58:11 -05:00
Instead of using an `import_map.json` file to define the versions for dependencies, they are now defined directly within the import. Since the `import_map.json` file should not be used anymore and instead a `deno.json` file per function should be used, we decided to define them directly with the code. The overhead compared to a `deno.json` file per function shouldn't be that large and it makes using functions in a self-hosted setup easier.
6 lines
159 B
TypeScript
6 lines
159 B
TypeScript
export const corsHeaders = {
|
|
"Access-Control-Allow-Origin": "*",
|
|
"Access-Control-Allow-Headers":
|
|
"authorization,x-client-info,apikey,content-type",
|
|
};
|