mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
break cache of fonts
This commit is contained in:
parent
051fb5bb5b
commit
8d859a9f68
@ -4,9 +4,12 @@
|
|||||||
the path. This is to get around CDN caching on the Origin:
|
the path. This is to get around CDN caching on the Origin:
|
||||||
|
|
||||||
https://forums.aws.amazon.com/thread.jspa?threadID=114646
|
https://forums.aws.amazon.com/thread.jspa?threadID=114646
|
||||||
|
|
||||||
|
Also added a cache breaker there in case we have breaking config changes
|
||||||
|
&1 was added last when the nginx sample config changed
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<% font_domain = "#{request.protocol}#{request.host_with_port}" %>
|
<% font_domain = "#{request.protocol}#{request.host_with_port}&1" %>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@font-face {
|
@font-face {
|
||||||
|
Loading…
Reference in New Issue
Block a user