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