8 lines
239 B
JavaScript
8 lines
239 B
JavaScript
var staticLocation = require('./staticLocation')
|
|
|
|
function helperGetLocatOrigin () {
|
|
return staticLocation ? (staticLocation.origin || (staticLocation.protocol + '//' + staticLocation.host)) : ''
|
|
}
|
|
|
|
module.exports = helperGetLocatOrigin
|