From 083641362fafd7069490813d1449ec553ba05567 Mon Sep 17 00:00:00 2001 From: Hunter Miller Date: Mon, 23 Oct 2023 14:49:17 -0500 Subject: [PATCH] storage: missed one default point --- ui/src/state/storage/storage.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/src/state/storage/storage.ts b/ui/src/state/storage/storage.ts index c1721df6..0f762815 100644 --- a/ui/src/state/storage/storage.ts +++ b/ui/src/state/storage/storage.ts @@ -26,7 +26,7 @@ export const useStorage = createState( buckets: new Set(), currentBucket: '', region: '', - presignedUrl: '', + presignedUrl: hostingUploadURL, service: 'credentials', }, credentials: null, @@ -70,5 +70,3 @@ export const useStorage = createState( ), ] ); - -window.useStorage = useStorage;