Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dohooo committed Oct 5, 2024
2 parents 933ed74 + 2faaa71 commit bd570bb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions example/app/app/+html.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ export default function Root({ children }: { children: React.ReactNode }) {
content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1"
/>

{/* This CSP used to control which domain could embed this App. For now, we're using this App in doc site. */}
<meta
httpEquiv="Content-Security-Policy"
content="frame-ancestors 'self' https://app.rn-carousel.dev http://localhost:8002"
/>

{/*
Disable body scrolling on web. This makes ScrollView components work closer to how they do on native.
However, body scrolling is often nice to have for mobile web. If you want to enable it, remove this line.
Expand Down

0 comments on commit bd570bb

Please sign in to comment.