Skip to content
Snippets Groups Projects
Commit 9fe220f7 authored by Yusuf Akgül's avatar Yusuf Akgül :hatching_chick:
Browse files

small changes in env and ui

parent 354978f5
No related branches found
No related tags found
1 merge request!34Testing
Pipeline #38856 passed
......@@ -3,12 +3,12 @@
# Public App URL
NEXT_PUBLIC_APP_URL="http://localhost:3000"
# Database for connecting to Prisma
DATABASE_URL="file:./dev.db"
# PostgreSQL Database for connecting to Prisma
DATABASE_URL="postgresql://janedoe:mypassword@localhost:5432/mydb?schema=sample"
# Database for connecting to Supabase for media
NEXT_PUBLIC_SUPABASE_URL="YOUR_SUPABASE_URL"
NEXT_PUBLIC_SUPABASE_ANON_KEY="YOUR_SUPABASE_ANON_KEY"
# Uploadthing Object Database for media storage
UPLOADTHING_SECRET="uploadthing_secret"
UPLOADTHING_APP_ID="uploadthing_app_id"
# URLs
TWITCH_AUTH_BASE_URL="https://id.twitch.tv/oauth2"
......@@ -16,12 +16,12 @@ IGDB_BASE_URL="https://api.igdb.com/v4"
IGDB_IMG_BASE_URL="https://images.igdb.com/igdb/image/upload"
# For Twitch Auth to fetch access token
TWITCH_CLIENT_ID="imdb_client_id"
TWITCH_CLIENT_SECRET="imdb_auth_id"
TWITCH_CLIENT_ID="twitch_client_id"
TWITCH_CLIENT_SECRET="twitch_client_secret"
# For NextAuth // use `openssl rand -base64 32` to generate a secret
# For NextAuth
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="secret"
NEXTAUTH_SECRET="nextauth_secret"
# For Github Auth
GITHUB_CLIENT_ID="github_client_id"
......
......@@ -10,7 +10,7 @@ export const GweetActions = ({
gweet: IGweet;
}) => {
return (
<div className="space-x-12 w-60">
<div className="space-x-12 w-64">
<CommentButton gweet={gweet} />
<RegweetButton gweet={gweet} />
<LikeButton gweet={gweet} />
......
......@@ -36,7 +36,7 @@ export const GweetOptions = ({ gweet }: { gweet: IGweet }) => {
}
}
const url = getURL(`/status/${gweet?.id}`);
const url = getURL(`/${gweet?.author.username}/status/${gweet?.id}`);
return (
<DropdownMenu open={dropdownOpen} onOpenChange={setDropdownOpen}>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment