alpha
Login
or
Join now
flo-bit.dev
/
youtube-party-dj
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/flo-bit/youtube-party-dj. democratic youtube player, everyone can vote and add songs, uni project, made with uix
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
qrCodeSrc
author
mab10
date
2 years ago
(Jul 4, 2024, 5:07 PM +0200)
commit
2f86c246
2f86c24624d666a225bb0b5cff6d07ed7c4a836f
parent
3d7fc062
3d7fc0626333da6281f05dc8dba29e671a70ac55
+2
-2
2 changed files
Expand all
Collapse all
Unified
Split
common
components
QR.tsx
frontend
entrypoint.css
+1
-1
common/components/QR.tsx
View file
Reviewed
···
19
19
20
20
return <span style={{ color: "black" }}>{loadingText}</span>;
21
21
} else {
22
22
-
const qrCodeSrc = `https://api.qrserver.com/v1/create-qr-code/?data=${encodeURIComponent([new URL(window.location.href).origin, "/client/", code].join(""))}&format=svg`
22
22
+
const qrCodeSrc = `https://api.qrserver.com/v1/create-qr-code/?data=${encodeURIComponent(`${new URL(window.location.href).origin}/welcome?code=${encodeURIComponent(code)}`)}&format=svg`;
23
23
24
24
return <img class="h-full" src={qrCodeSrc} alt="QR code" />;
25
25
}
+1
-1
frontend/entrypoint.css
View file
Reviewed
···
1
1
/*
2
2
-
! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com
2
2
+
! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com
3
3
*/
4
4
5
5
/*