mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 14:33:59 -04:00
Use cloudflare for analytics so we get the correct SSL cert.
This commit is contained in:
parent
e053ad5c61
commit
c08d426c6b
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ module.exports = class Tracker extends CocoClass
|
|||
eventObject["user"] = me.id
|
||||
dataToSend = JSON.stringify eventObject
|
||||
# console.log dataToSend if debugAnalytics
|
||||
$.post("#{window.location.protocol or 'http:'}//analytics.codecombat.com/analytics", dataToSend).fail ->
|
||||
$.post("#{window.location.protocol or 'http:'}//analytics-cf.codecombat.com/analytics", dataToSend).fail ->
|
||||
console.error "Analytics post failed!"
|
||||
else
|
||||
request = @supermodel.addRequestResource {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue