coyotte508 commited on
Commit
bd7a7e5
·
1 Parent(s): 0515a8e

use dockerfile instead

Browse files
Files changed (1) hide show
  1. src/lib/server/auth.ts +3 -3
src/lib/server/auth.ts CHANGED
@@ -1,11 +1,11 @@
1
  import { betterAuth } from '@huggingface/better-auth';
2
- import { HUGGINGFACE_CLIENT_ID, HUGGINGFACE_CLIENT_SECRET } from '$env/static/private';
3
 
4
  export const auth = betterAuth({
5
  socialProviders: {
6
  huggingface: {
7
- clientId: HUGGINGFACE_CLIENT_ID,
8
- clientSecret: HUGGINGFACE_CLIENT_SECRET,
9
  },
10
  },
11
  });
 
1
  import { betterAuth } from '@huggingface/better-auth';
2
+ // import { HUGGINGFACE_CLIENT_ID, HUGGINGFACE_CLIENT_SECRET } from '$env/static/private';
3
 
4
  export const auth = betterAuth({
5
  socialProviders: {
6
  huggingface: {
7
+ clientId: process.env.HUGGINGFACE_CLIENT_ID!,
8
+ clientSecret: process.env.HUGGINGFACE_CLIENT_SECRET!,
9
  },
10
  },
11
  });