2023-03-31 01:41:51 +03:00
|
|
|
{% comment %} Site static assets origin type {% endcomment %}
|
|
|
|
|
|
|
|
{% assign type = 'cors' %}
|
2022-02-09 17:32:50 +03:00
|
|
|
|
|
|
|
{% if site.assets.self_host.enabled %}
|
|
|
|
{% if site.assets.self_host.env %}
|
|
|
|
{% if site.assets.self_host.env == jekyll.environment %}
|
2023-03-31 01:41:51 +03:00
|
|
|
{% assign type = 'basic' %}
|
2022-02-09 17:32:50 +03:00
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
2023-03-31 01:41:51 +03:00
|
|
|
{% assign type = 'basic' %}
|
2022-02-09 17:32:50 +03:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|