fix: 本地开发需要环境变量
This commit is contained in:
parent
9022969ac6
commit
9ff111edaf
18
.env.local
Normal file
18
.env.local
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Update these with your Supabase details from your project settings > API
|
||||||
|
# https://app.supabase.com/project/_/settings/api
|
||||||
|
NEXT_PUBLIC_SUPABASE_URL=https://yidfukfbrluizjvfrrsj.supabase.co
|
||||||
|
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InlpZGZ1a2Zicmx1aXpqdmZycnNqIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MDQ4NjMyNjEsImV4cCI6MjAyMDQzOTI2MX0.EXIXAdNIGLFo5wHmwmY2-9bqLO9vyFYDvMMtCtkxgig
|
||||||
|
# NEXT_PUBLIC_TINYMCE_API_KEY=e983nu390inks6be1wwlsrdxjebot3yc4pld7d44zs6vcrxr
|
||||||
|
NEXT_PUBLIC_OPENAI_API_KEY=sk-ffe19ebe9fa44d00884330ff1c18cf82
|
||||||
|
#sess-wZKsUKS8IhPH3jI44krQL41vhl68qH6hwE66hOnL
|
||||||
|
NEXT_PUBLIC_SEMANTIC_API_KEY=hEQvK6ARe84dzDPcMnpzX4n9jfoqztkMfaftPWnb
|
||||||
|
NEXT_PUBLIC_PUBMED_API_KEY=057616e7ce6c722f2ae8679e38a8be9b1a09
|
||||||
|
NEXT_PUBLIC_AI_URL=https://api.deepseek.com # /api/v1/chat/completions
|
||||||
|
NEXT_PUBLIC_PAPER_URL=/api/paper
|
||||||
|
#"https://api.openai.com/v1/chat/completions" "https://api.liuweiqing.top" "https://api.liuweiqing.top/v1/chat/completions"
|
||||||
|
#node转发设置为 /api/v1/chat/completions https://one.caifree.com sk-aiHrrRLYUUelHstX69E9484509254dBf92061d6744FfFaD1
|
||||||
|
VERCEL_URL=https://www.paperai.life
|
||||||
|
NODE_ENV=development
|
||||||
|
NEXT_PUBLIC_CLIENT_ID=UrgIEI0n03tveTmaOV0IU8qRY4DttGY4
|
||||||
|
CLIENT_SECRET=ljShbIlIrfULu4BTUVTT4azeR90PtAif
|
||||||
|
REDIRECT_URI=http://localhost:3000/api/oauth/callback
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -37,7 +37,7 @@ next-env.d.ts
|
||||||
|
|
||||||
pass
|
pass
|
||||||
.env
|
.env
|
||||||
.env.local
|
# .env.local
|
||||||
|
|
||||||
.vercel
|
.vercel
|
||||||
post.md
|
post.md
|
||||||
|
|
Loading…
Reference in New Issue
Block a user