Skip to content

Commit

Permalink
support for blob url + version bumb and prod build
Browse files Browse the repository at this point in the history
  • Loading branch information
francoismg committed Nov 29, 2024
1 parent 1d1ec9c commit dc342c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion prototypes/jsvis/dist/astrovis/astrovis.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion prototypes/jsvis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astrovisjs",
"version": "0.9.92",
"version": "0.9.98",
"main": "dist/astrovis.js",
"scripts": {
"build": "npx webpack --config webpack.dev.js",
Expand Down
2 changes: 1 addition & 1 deletion prototypes/jsvis/wrappers/FITSReaderWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ export class FITSReaderWrapper {
}

static _isURLValid(url) {
const urlRegex = /^(ftp|http|https):\/\/[^ "]+$/;
const urlRegex = /^(blob:[^ "]+|ftp:\/\/[^ "]+|http:\/\/[^ "]+|https:\/\/[^ "]+)$/;
return urlRegex.test(url);
}

Expand Down

0 comments on commit dc342c5

Please sign in to comment.