Commit Graph

8 Commits (c6b7b984891413cb1db673df2cbea12f8e6f0f05)

Author SHA1 Message Date
Akihiko Odaki 778b37790b Do not fetch environment variables to determine default locale ()
The default locale is now set by config.
2018-03-04 10:00:46 +01:00
Akihiko Odaki f7bf36d8fc Require environment for generate_static_pages ()
It is required for ApplicationController.
2018-02-03 18:41:01 +01:00
Eugen Rochko 92e7815d1d Fix - Create symlink from public/500.html to public/assets/500.html () 2017-10-09 20:51:24 +02:00
Yamagishi Kazutoshi 901fc48aae Upgrade Webpacker to version 3.0.1 () 2017-09-27 14:41:54 +02:00
nullkal b32a1d5754 Refactor 500 file generation for future extension () 2017-09-26 11:55:33 +02:00
Eugen Rochko 3b60832214 New error page graphic. Other error page improvements ()
- 500.html generated with admin-set default locale if set
- Error page `<title>` includes Mastodon site title
- 500 title changed to "This page is not
  correct" (ref: <https://www.youtube.com/watch?v=2VCAP_seh1A>)
- 500 content appended with "on our end" to make clear it's
  not user's fault
2017-09-25 23:05:54 +02:00
Yamagishi Kazutoshi 0fea700c7b Refresh manifest before generate 500.html () 2017-09-25 16:58:12 +02:00
Eugen Rochko 2c8e3fbbfb Generate 500.html with assets:precompile, remove loading from Google Fonts () 2017-09-25 04:04:04 +02:00