This commit is contained in:
everythingonblack
2025-05-07 16:38:54 +07:00
parent 92280ffdd3
commit c136495d10
7 changed files with 52 additions and 17 deletions

View File

@@ -213,7 +213,7 @@ function CafePage({
) : ( */}
<div className={`Cafe ${isExceededDeadline ? 'grayscale' : ''}`}>
{API_BASE_URL != 'https://dev.api.kedaimaster.com' &&
{API_BASE_URL != 'https://dev.api.kedaimaster.com' && API_BASE_URL != 'https://api.kedaimaster.com' &&
<div className="Watermark"></div>
}
<div className="App-header">

View File

@@ -103,7 +103,8 @@ const LinktreePage = ({ user, setModal }) => {
const response = await loginUser(username, password);
if (response.success) {
localStorage.setItem('auth', response.token);
window.location.href = response.cafeId ? `/${response.cafeId}` : '/';
console.log(response)
window.location.href = response.cafeIdentifyName ? `/${response.cafeIdentifyName}` : '/';
} else {
setError(true);
}

View File

@@ -506,7 +506,6 @@
top: 0;
width: 100%;
height: calc(25vh - 25px);
padding-top: 25px;
margin-bottom: 85px;
}