mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-30 18:46:00 +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
|
if (!url) return url
|
||||||
try {
|
try {
|
||||||
const resp = await fetch('/api/auth/resource-token', {
|
const resp = await fetch('/api/auth/resource-token', {
|
||||||
|
|||||||
Reference in New Issue
Block a user