From 2846ed7a1aab72f1d069be36ec617dcdc7b379c3 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sun, 28 Jan 2024 17:47:38 +0100 Subject: [PATCH] url --- Assets/Scripts/StorageManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/StorageManager.cs b/Assets/Scripts/StorageManager.cs index a96e809..c8bcc6b 100644 --- a/Assets/Scripts/StorageManager.cs +++ b/Assets/Scripts/StorageManager.cs @@ -42,7 +42,7 @@ public void UploadPhoto(string roomCode, string playerId, int question, int prop byte[] photoBytes = ImageConversion.EncodeToJPG(photo); string imageUuid = Guid.NewGuid().ToString(); - StorageReference imageRef = storage.Child($"{roomCode}/{playerId}/{imageUuid}.png"); + StorageReference imageRef = storage.Child($"gs://ggj2024-5cb41.appspot.com/{roomCode}/{playerId}/{imageUuid}.png"); imageRef.PutBytesAsync(photoBytes).ContinueWith((Task task) => {