firebase login
firebase deploy --only hosting
API/Secret: 411528374683961:PXtF8M992HzFH4DLJzZAL6jWeiw
curl https://411528374683961:[email protected]/v1/retratosdearissona/ping
curl https://411528374683961:[email protected]/v1/retratosdearissona/cache_warm_up -X POST --data 'url=https://retratosdearissona.mo.cloudinary.net/img/La-Mision-de-San-Xavier-del-Bac.jpg?tx=t_complex'
<script>
(function () {
function logElementEvent(eventName, element) {
console.log(Date.now(), eventName, element.getAttribute("data-src"));
}
var callback_enter = function (element) {
logElementEvent("🔑 ENTERED", element);
};
var callback_exit = function (element) {
logElementEvent("🚪 EXITED", element);
};
var callback_loading = function (element) {
logElementEvent("⌚ LOADING", element);
};
var callback_loaded = function (element) {
logElementEvent("👍 LOADED", element);
};
var callback_error = function (element) {
logElementEvent("💀 ERROR", element);
element.src =
"https://via.placeholder.com/440x560/?text=Error+Placeholder";
};
var callback_finish = function () {
logElementEvent("✔️ FINISHED", document.documentElement);
};
var callback_cancel = function (element) {
logElementEvent("🔥 CANCEL", element);
};
var ll = new LazyLoad({
threshold: 0,
// Assign the callbacks defined above
callback_enter: callback_enter,
callback_exit: callback_exit,
callback_cancel: callback_cancel,
callback_loading: callback_loading,
callback_loaded: callback_loaded,
callback_error: callback_error,
callback_finish: callback_finish
});
})();
</script>