Skip to content
Snippets Groups Projects
Commit 8ea47f44 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

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 ce7da9b2.
parent 97ec4610
No related branches found
No related tags found
1 merge request!141npm package config
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment