mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 15:54:23 +08: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:
|
||||
|
||||
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 New Issue
Block a user