Unified · Split
| @@ -10,4 +10,4 @@ app.config = · 9 unmodified lines | |||
| 10 | production_host: 'devdocs.io' | 10 | production_host: 'devdocs.io' |
| 11 | search_param: 'q' | 11 | search_param: 'q' |
| 12 | sentry_dsn: '<%= App.sentry_dsn %>' | 12 | sentry_dsn: '<%= App.sentry_dsn %>' |
| 13 | version: '<%= Time.now.to_i %>' | 13 | version: <%= Time.now.to_i %> |
| @@ -280,4 +280,4 @@ class app.DB · 279 unmodified lines | |||
| 280 | app.settings.get('schema') | 280 | app.settings.get('schema') |
| 281 | 281 | ||
| 282 | appVersion: -> | 282 | appVersion: -> |
| 283 | if app.config.env is 'production' then parseInt(app.config.version, 10) else Math.floor(Date.now() / 1000) | 283 | if app.config.env is 'production' then app.config.version else Math.floor(Date.now() / 1000) |