mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
Merge branch 'master' of github.com:neocities/neocities
This commit is contained in:
commit
9aa0f245ea
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
get '/stats/?' do
|
||||
expires 14400, :public, :must_revalidate if self.class.production? # 4 hours
|
||||
# expires 14400, :public, :must_revalidate if self.class.production? # 4 hours
|
||||
|
||||
@stats = {
|
||||
total_sites: Site.count,
|
||||
|
@ -84,4 +84,4 @@ get '/stats/?' do
|
|||
@stats[:percent_until_developer_salary] = (@stats[:monthly_revenue].to_f / ((@stats[:average_developer_salary]/12) + @stats[:expenses])) * 100
|
||||
|
||||
erb :'stats'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue