Skip to content

Commit 9168dd8

Browse files
authored
Merge pull request #65 from apsinghdev/fix/hostname-checker
fix: remove the trailling slashes
2 parents 73ee85a + 167a40b commit 9168dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ function App() {
243243

244244
// Hook to display a message when someone opens the app through vercel's url
245245
useEffect(() => {
246-
const isVercel = window.location.hostname === "https://drawrtcbyajeet.vercel.app/"
246+
const isVercel = window.location.hostname === "drawrtcbyajeet.vercel.app"
247247
if (isVercel) {
248248
setMessageText("Collaborative features require local installation. For more information, please visit our GitHub repository (linked in the menu).");
249249
setShowMenu(true);

0 commit comments

Comments
 (0)