Skip to content

Commit

Permalink
feat(use_base_url): Fix logout URL
Browse files Browse the repository at this point in the history
  • Loading branch information
kimanimichael committed Oct 9, 2024
1 parent 55cf051 commit fecc54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface NavProps {

const Nav: React.FC <NavProps> = props => {
const logout = async () => {
await fetch(`'${BASE_URL}/whitepoint/logout`, {
await fetch(`${BASE_URL}/whitepoint/logout`, {
method: 'POST',
headers: {'Content-Type': 'application/json'},
credentials: 'include'
Expand Down

0 comments on commit fecc54c

Please sign in to comment.