10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-11-04 21:24:00 +01:00
QUESTDB_website/static/js/getFullDataPath.js

5 lines
131 B
JavaScript
Raw Normal View History

2019-08-28 11:59:18 +02:00
function getFullDataPath(path) {
2020-11-25 01:52:53 +01:00
var site_url = "/"+window.location.pathname.split('/')[1];
return site_url+'/data/' + path;
2019-08-28 11:59:18 +02:00
}