10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-10-02 14:30:58 +02:00
QUESTDB_website/js/getFullDataPath.js
2020-11-25 00:55:18 +00:00

5 lines
131 B
JavaScript

function getFullDataPath(path) {
var site_url = "/"+window.location.pathname.split('/')[1];
return site_url+'/data/' + path;
}