mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
Add websiteFile clas
This commit is contained in:
parent
f9512999e0
commit
3f1603a211
8
static/scripts/websiteFile.js
Normal file
8
static/scripts/websiteFile.js
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
class websiteFile{
|
||||||
|
constructor(path){
|
||||||
|
this.path=path
|
||||||
|
}
|
||||||
|
get viewerUrl(){
|
||||||
|
return String.raw`view?dataFile=${this.path}`
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user