-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
194 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,2 @@ | ||
# Postgre 主机 | ||
POSTGRE_HOST="localhost" | ||
# Postgre 端口 | ||
POSTGRE_PORT=5432 | ||
# Postgre 数据库 | ||
POSTGRE_DATABASE="postgres" | ||
# Postgre 用户名 | ||
POSTGRE_USERNAME="postgres" | ||
# Postgre 密码 | ||
POSTGRE_PASSWORD="postgres" | ||
# AUTH_SECRET npx auth secret | ||
AUTH_SECRET="T7tQXKqqKjZrJhN62Z05AHY8qKGQKaG/4iqv0tKmEvw=" | ||
# 数据库 url | ||
DATABASE_URL="db.picimpact.supabase.co" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,2 @@ | ||
# Postgre 主机 | ||
POSTGRE_HOST="db.picimpact.supabase.co" | ||
# Postgre 端口 | ||
POSTGRE_PORT=5432 | ||
# Postgre 数据库 | ||
POSTGRE_DATABASE="postgres" | ||
# Postgre 用户名 | ||
POSTGRE_USERNAME="postgres" | ||
# Postgre 密码 | ||
POSTGRE_PASSWORD="postgres" | ||
# AUTH_SECRET npx auth secret | ||
AUTH_SECRET="T7tQXKqqKjZrJhN62Z05AHY8qKGQKaG/4iqv0tKmEvw=" | ||
# 数据库 url | ||
DATABASE_URL="db.picimpact.supabase.co" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
import { auth } from '~/utils/lib/auth' | ||
|
||
export default async function Admin() { | ||
const session = await auth() | ||
|
||
|
||
return ( | ||
<> | ||
控制台 {session?.user} | ||
控制台 | ||
</> | ||
) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.