ok
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -506,7 +506,6 @@
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: calc(25vh - 25px);
|
||||
padding-top: 25px;
|
||||
margin-bottom: 85px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user