Skip to content

Commit

Permalink
update github link
Browse files Browse the repository at this point in the history
  • Loading branch information
LagunaElectric committed Aug 12, 2023
1 parent 4016f4b commit a4ca4da
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/HeaderBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const toggleColorMode = () => {
</span>
<div class="hidden xxs:flex gap-1 absolute lg:static right-2 sm:right-4 top-4">
<NuxtLink
to="https://www.github.com/LagunaElectric/regex-factory"
to="https://github.com/LagunaElectric/regex-factory-v2"
class="focus-visible:outline-offset-0 focus-visible:outline-2 focus-visible:outline-double focus-visible:outline-primary-light-icon dark:focus-visible:outline-primary-dark-icon rounded-sm"
target="_blank"
>
Expand Down
4 changes: 2 additions & 2 deletions example.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Prisma
DATABASE_URL=file:./db.sqlite
AUTH_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_OAUTH_CLIENT_ID=
GOOGLE_OAUTH_CLIENT_SECRET=
4 changes: 2 additions & 2 deletions server/api/auth/[...].ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export default NuxtAuthHandler({
providers: [
// @ts-expect-error You need to use .default here for it to work during SSR. May be fixed via Vite at some point
GoogleProvider.default({
clientId: process.env.GOOGLE_CLIENT_ID,
clientSecret: process.env.GOOGLE_CLIENT_SECRET,
clientId: process.env.GOOGLE_OAUTH_CLIENT_ID,
clientSecret: process.env.GOOGLE_OAUTH_CLIENT_SECRET,
}),
],
})

0 comments on commit a4ca4da

Please sign in to comment.