diff --git a/auth.config.js b/auth.config.js index 644cbe648..0cf131696 100644 --- a/auth.config.js +++ b/auth.config.js @@ -1,12 +1,11 @@ -import Twitch from "@auth/core/providers/twitch" import { defineConfig } from "auth-astro" export default defineConfig({ providers: [ - Twitch({ - clientId: import.meta.env.TWITCH_CLIENT_ID, - clientSecret: import.meta.env.TWITCH_CLIENT_SECRET, - }), + // Twitch({ + // clientId: import.meta.env.TWITCH_CLIENT_ID, + // clientSecret: import.meta.env.TWITCH_CLIENT_SECRET, + // }), ], callbacks: { session: ({ session, token }) => ({ diff --git a/src/components/Velocimetro.astro b/src/components/Velocimetro.astro index 22aff2152..966d34a24 100644 --- a/src/components/Velocimetro.astro +++ b/src/components/Velocimetro.astro @@ -1,8 +1,14 @@ - +--- +const { id } = Astro.props +--- -