Skip to content

Commit

Permalink
Merging bd461b0 into trunk-temp/pr-2285/6cd0b3b4-3aac-4a14-a78a-3acbe…
Browse files Browse the repository at this point in the history
…aa0a30e
  • Loading branch information
trunk-io[bot] authored Nov 20, 2024
2 parents 2e66f84 + bd461b0 commit aa84026
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nosecone-next/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import nosecone, { defaults } from "nosecone";
import type { CspDirectives, NoseconeOptions } from "nosecone";

// Re-exports the defaults for easier overrides
export { defaults };

// We export `nosecone` as the default so it can be used with `new Response()`
export default nosecone;

Expand Down
3 changes: 3 additions & 0 deletions nosecone-sveltekit/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import nosecone, {
import type { CspDirectives, NoseconeOptions } from "nosecone";
import type { Handle, KitConfig } from "@sveltejs/kit";

// Re-exports the defaults for easier overrides
export { defaults };

// We export `nosecone` as the default so it can be used with `new Response()`
export default nosecone;

Expand Down

0 comments on commit aa84026

Please sign in to comment.