Skip to content

Commit

Permalink
unbreak thing
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekEagle committed Feb 20, 2024
1 parent 8751588 commit 392ab74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/user-space/File.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@
if (file.data) {
if (import.meta.env.MODE === 'ptb')
return `https://alekeagle.me/${file.data.id}`;
else return `/${file.data.id}`;
else
return `${window.location.protocol}//${window.location.host}/${file.data.id}`;
}
return '';
}),
Expand Down

0 comments on commit 392ab74

Please sign in to comment.