mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Fix multiple bugs in getViewerURL
This commit is contained in:
parent
64ff9500c6
commit
fe2c0e4c64
@ -4,7 +4,7 @@ class websiteFile{
|
||||
}
|
||||
|
||||
async getViewerURL(){
|
||||
params=new URLSearchParams()
|
||||
var params=new URLSearchParams()
|
||||
var urlbase="/view"
|
||||
switch (trueTypeOf(this.file)) {
|
||||
case "string":
|
||||
@ -16,7 +16,7 @@ class websiteFile{
|
||||
break
|
||||
}
|
||||
if ([...params].length>0){
|
||||
return urlbase+"?"+params.tostring()
|
||||
return urlbase+"?"+params.toString()
|
||||
}
|
||||
else{
|
||||
return urlbase
|
||||
|
Loading…
Reference in New Issue
Block a user