openvibers/openvibe.network Commits
nginx: the app already sends Access-Control-Allow-Origin for /shared/ — no second copy
Changes
@@@ -72,7 +72,6 @@ server {# Shared browser modules are loaded by every OpenVibe site from here. Five minutes at the# edge: a navbar/footer change reaches the whole network within minutes instead of an hour.add_header Cache-Control "public, max-age=300, stale-while-revalidate=60";-- add_header Access-Control-Allow-Origin "*";}# ── API (moderate rate limit) ───────────────────────────
@@ -72,7 +72,6 @@ server {
@@ -72,7 +72,6 @@ server {
# Shared browser modules are loaded by every OpenVibe site from here. Five minutes at the
# Shared browser modules are loaded by every OpenVibe site from here. Five minutes at the
# edge: a navbar/footer change reaches the whole network within minutes instead of an hour.
# edge: a navbar/footer change reaches the whole network within minutes instead of an hour.
add_header Cache-Control "public, max-age=300, stale-while-revalidate=60";
add_header Cache-Control "public, max-age=300, stale-while-revalidate=60";
- add_header Access-Control-Allow-Origin "*";
}
}
# ── API (moderate rate limit) ───────────────────────────
# ── API (moderate rate limit) ───────────────────────────