Revert "fix(gitea-bot): add write:organization scope so bot can create repos"
This reverts commit 6f79a88abd.
Made-with: Cursor
This commit is contained in:
@@ -58,20 +58,13 @@ export default function RootLayout({
|
||||
{children}
|
||||
<Toaster />
|
||||
</Providers>
|
||||
{/* Service worker breaks Next dev (RSC / __nextjs_* fetches need a real Response). Prod only. */}
|
||||
{process.env.NODE_ENV === "production" ? (
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
<script dangerouslySetInnerHTML={{ __html: `
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', () => {
|
||||
navigator.serviceWorker.register('/sw.js').catch(() => {});
|
||||
});
|
||||
}
|
||||
`,
|
||||
}}
|
||||
/>
|
||||
) : null}
|
||||
`}} />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user