Skip to content

Commit

Permalink
fix: update fetch URL to use BASE_URL for version tag retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
zj committed Sep 20, 2024
1 parent b12ff2d commit 1ca3d8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function getVersionTag() {
) {
return null;
}
const response = await fetch('/', {
const response = await fetch(import.meta.env.BASE_URL, {
cache: 'no-cache',
method: 'HEAD',
});
Expand Down

0 comments on commit 1ca3d8b

Please sign in to comment.