refactor: rename blog app to www

This commit is contained in:
Lewis Wynne 2026-01-29 00:56:59 +00:00
parent 5ff2a3056e
commit 87c8260c80
40 changed files with 6 additions and 6 deletions

View file

@ -1,25 +0,0 @@
import GitHub from '@auth/core/providers/github';
import { defineConfig } from 'auth-astro';
export default defineConfig({
providers: [
GitHub({
clientId: import.meta.env.GITHUB_CLIENT_ID,
clientSecret: import.meta.env.GITHUB_CLIENT_SECRET,
}),
],
callbacks: {
jwt({ token, account, profile }) {
if (account && profile) {
token.id = profile.id;
}
return token;
},
session({ session, token }) {
if (session.user && token.id) {
(session.user as any).id = String(token.id);
}
return session;
},
},
});