|
import axios from 'axios'
|
|
|
|
let mapSessionReported = false
|
|
|
|
function reportMapSession () {
|
|
if (mapSessionReported) {
|
|
return
|
|
}
|
|
axios.post(process.env.VUE_APP_API_URL + '/mapsession', { type: 'first' })
|
|
mapSessionReported = true
|
|
}
|
|
|
|
export default reportMapSession
|