Obtener URL de base Vuejs
var baseUrl = window.location.origin
Sergiu The Man
var baseUrl = window.location.origin