10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-26 06:14:38 +01:00
QUESTDB_website/js/getFullDataPath.js

5 lines
131 B
JavaScript
Raw Permalink Normal View History

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