Skip to content

Commit

Permalink
allow anonymous access on /lastheard
Browse files Browse the repository at this point in the history
  • Loading branch information
USA-RedDragon committed Nov 25, 2024
1 parent b40b9ad commit c4daf36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/http/frontend/src/services/API.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ instance.interceptors.response.use(
if (
window.location.pathname !== '/login' &&
window.location.pathname !== '/' &&
window.location.pathname !== '/lastheard' &&
window.location.pathname !== '/register' &&
(status === 401 || status === 403)
) {
Expand Down

0 comments on commit c4daf36

Please sign in to comment.