{% assign domain = shop.permanent_domain %}

{% if domain contains 'quickstart-e8822a71.myshopify.com' %}
  {% assign environment = 'development' %}
{% else %}
  {% assign environment = 'production' %}
{% endif %}

"{{ environment }}"

{% comment %}

use this to get the environment on other files

{% liquid
  capture shx_get_environment
    render "shx-get-environment"
  endcapture
%}

{{ shx_get_environment }}

{% endcomment %}