Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

stats is json by default now #3210

Closed
chadwhitacre opened this issue Feb 26, 2015 · 7 comments
Closed

stats is json by default now #3210

chadwhitacre opened this issue Feb 26, 2015 · 7 comments

Comments

@chadwhitacre
Copy link
Contributor

Might be a regression due to #3189?

https://gratipay.com/about/stats

@chadwhitacre
Copy link
Contributor Author

I believe if we change the order of the content pages so that HTML is first then that will fix it. But why did this start happening? Is it indeed a #3189 regression, or has Chrome changed its Accept header? What other simplates are affected?

@untitaker
Copy link

Search is broken too.

@chadwhitacre
Copy link
Contributor Author

$ find www -name \*.spt|grep -v \\..*\\.
www/%username/account/close.spt
www/%username/elsewhere/refresh.spt
www/%username/history/record-an-exchange.spt
www/about/charts.spt
www/about/contact.spt
www/about/details.spt
www/about/dnt.spt
www/about/error.spt
www/about/faq.spt
www/about/features/dnt.spt
www/about/features/index.spt
www/about/features/teams/index.spt
www/about/fraud/2012-11-05.spt
www/about/index.spt
www/about/me/%redirect_to.spt
www/about/me/index.spt
www/about/me.spt
www/about/policies/index.spt
www/about/policies/privacy.spt
www/about/policies/terms-and-conditions.spt
www/about/policies/terms-of-service.spt
www/about/pricing.spt
www/about/privacy/index.spt
www/about/security/hall-of-fame.spt
www/about/security/index.spt
www/about/stats.spt
www/about/teams/index.spt
www/about/terms/index.spt
www/about/terms/of-service.spt
www/callbacks/balanced.spt
www/dashboard/index.spt
www/explore/teams/index.spt
www/on/%platform/associate.spt
www/on/%platform/redirect.spt
www/search.spt
www/security.spt

@chadwhitacre
Copy link
Contributor Author

$ find www -name \*.spt|grep -v \\..*\\.|xargs grep json_dump
www/about/stats.spt:[----------------------------------------------------------] application/json via json_dump
www/search.spt:[---] application/json via json_dump
$

@chadwhitacre
Copy link
Contributor Author

Fixed in #3213. Working now, @untitaker?

@untitaker
Copy link

Yeah!

@chadwhitacre
Copy link
Contributor Author

@untitaker Huzzah! Thanks for the report. :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants