andard 'localhost' origin. Would you like to redirect to the correct origin?",
        icon: "warning",
        showCancelButton: true,
        confirmButtonColor: '#3085d6',
        confirmButtonText: "Redirect",
        cancelButtonText: "Stay here"
      }).then((result) => {
        if (result.isConfirmed) {
          window.location.hostname = 'localhost';
        }
      });
    }
  });
</script>
{% endblock %}
