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:
2026-04-21 11:12:20 -07:00
parent 6f79a88abd
commit 14835e2e0a
64 changed files with 1708 additions and 2068 deletions

View File

@@ -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>
);