bug fixes for fly server
This commit is contained in:
parent
00c14f4eeb
commit
12f81acbf2
3 changed files with 5 additions and 3 deletions
4
.env
4
.env
|
|
@ -1,2 +1,2 @@
|
|||
VITE_AUTH_URL="http://localhost:8080"
|
||||
#VITE_AUTH_URL="https://byte-camp-auth-service.fly.dev"
|
||||
#VITE_AUTH_URL="http://localhost:8080"
|
||||
VITE_AUTH_URL="https://byte-camp-auth-service.fly.dev"
|
||||
2
.env.development
Normal file
2
.env.development
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
VITE_AUTH_URL="http://localhost:8080"
|
||||
#VITE_AUTH_URL="https://byte-camp-auth-service.fly.dev"
|
||||
|
|
@ -13,7 +13,7 @@ const Navbar = () => {
|
|||
const menuRef = useRef(null);
|
||||
|
||||
async function handleLogout() {
|
||||
window.open("http://localhost:8080/auth/logout", "_self");
|
||||
window.open(`${authUrl}/auth/logout`, "_self");
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue