From 8ea47f44b30c3e9b30055b605c76b7a8d9a69320 Mon Sep 17 00:00:00 2001 From: "Richard T. Carback III" <rick.carback@gmail.com> Date: Mon, 19 Feb 2024 16:03:05 +0000 Subject: [PATCH] Revert "add / to end of path" There are parts from webpack we don't control which start with a /, so we'll go with making sure all our paths prepend a / instead. This reverts commit ce7da9b2673c674dbd96ac7f47031cea1b7cfb49. --- src/paths.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/paths.ts b/src/paths.ts index 104bc23..4db69d2 100644 --- a/src/paths.ts +++ b/src/paths.ts @@ -11,14 +11,14 @@ declare global { // TODO: change this to a real cdn export const xxdk_s3_path = "http://elixxir-bins.s3-us-west-1.amazonaws.com/wasm/"; -export const default_xxdk_path = new URL(BundleVersion + '/', xxdk_s3_path); +export const default_xxdk_path = new URL(BundleVersion, xxdk_s3_path); // TODO: docstring? export let xxdkBasePath : URL | undefined; if (typeof window! !== 'undefined') { if (typeof window!.xxdkBasePath == 'undefined') { window!.xxdkBasePath = default_xxdk_path; - } + } } if (xxdkBasePath === undefined) { xxdkBasePath = default_xxdk_path; -- GitLab