ci/cd: configure automated Docker builds on Gitea and Portainer deployment
Build and Deploy / build-and-push (push) Successful in 2m39s
Build and Deploy / build-and-push (push) Successful in 2m39s
This commit is contained in:
1 parent
7a84480d70
commit
eb29528aad
11 files changed
+82
-25
No files matched your search
@@ -75,7 +75,7 @@ export async function listRooms() {
|
||||
|
||||
const { data: rooms, error: roomsError } = await supabase
|
||||
.from("rooms")
|
||||
.select("id, name, created_at")
|
||||
.select("id, name, created_at, owner_id")
|
||||
.in("id", roomIds)
|
||||
.order("created_at", { ascending: false });
|
||||
|
||||
@@ -98,6 +98,7 @@ export async function listRooms() {
|
||||
id: room.id,
|
||||
name: room.name,
|
||||
created_at: room.created_at,
|
||||
owner_id: room.owner_id,
|
||||
member_count: countMap.get(room.id) ?? 0,
|
||||
}));
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@ import { createBrowserClient } from "@supabase/ssr";
|
||||
export function createClient() {
|
||||
return createBrowserClient(
|
||||
process.env.NEXT_PUBLIC_SUPABASE_URL!,
|
||||
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
|
||||
process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY!,
|
||||
);
|
||||
}
|
||||
@@ -8,7 +8,7 @@ export async function updateSession(request: NextRequest) {
|
||||
|
||||
const supabase = createServerClient(
|
||||
process.env.NEXT_PUBLIC_SUPABASE_URL!,
|
||||
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
|
||||
process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY!,
|
||||
{
|
||||
cookies: {
|
||||
getAll() {
|
||||
|
||||
@@ -6,7 +6,7 @@ export async function createClient() {
|
||||
|
||||
return createServerClient(
|
||||
process.env.NEXT_PUBLIC_SUPABASE_URL!,
|
||||
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
|
||||
process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY!,
|
||||
{
|
||||
cookies: {
|
||||
getAll() {
|
||||
|
||||
Reference in new issue
Block a user