blob: 0845116f0a05f1713f9566d41a6262df4abaf24d (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Backend path (backendpath.js)
HashOverConstructor.backendPath = (function () {
// Get the HashOver script source URL
var scriptSrc = HashOverConstructor.script.getAttribute ('src');
// Parse and set HashOver path
var root = scriptSrc.replace (/\/[^\/]*\/?$/, '');
return root + '/backend';
}) ();
|