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