mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
break cache of fonts
This commit is contained in:
parent
051fb5bb5b
commit
8d859a9f68
1 changed files with 4 additions and 1 deletions
|
@ -4,9 +4,12 @@
|
|||
the path. This is to get around CDN caching on the Origin:
|
||||
|
||||
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>
|
||||
@font-face {
|
||||
|
|
Loading…
Reference in a new issue