mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
changing back to download
tokens are no longer used here
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export async function getAuthUrl(url: string, purpose: string): Promise<string> {
|
||||
export async function getAuthUrl(url: string, purpose: 'download'): Promise<string> {
|
||||
if (!url) return url
|
||||
try {
|
||||
const resp = await fetch('/api/auth/resource-token', {
|
||||
|
||||
Reference in New Issue
Block a user