From df2001089a00e24d097ac3ca87b2c4fc9ca1710d Mon Sep 17 00:00:00 2001 From: Lea Verou Date: Tue, 19 May 2020 23:41:03 -0400 Subject: [PATCH] Allow for trailing slash in mv-storage Just went through some lengthy debugging and the culprit was a trailing slash. Hopefully this should fix it, though not sure if there's a different part of the code that may choke on this. --- src/mavo-firebase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mavo-firebase.js b/src/mavo-firebase.js index 670e2e7..6bc2feb 100644 --- a/src/mavo-firebase.js +++ b/src/mavo-firebase.js @@ -269,7 +269,7 @@ }, static: { - test: url => /^(firebase|https:\/\/.*\.firebaseio\.com)$/.test(url) + test: url => /^(firebase|https:\/\/.*\.firebaseio\.com\/?)$/.test(url) } })) })()