forked from cybrespace/mastodon
This commit is contained in:
parent
9d97054fe6
commit
92e7815d1d
|
@ -21,7 +21,6 @@ public/system
|
||||||
public/assets
|
public/assets
|
||||||
public/packs
|
public/packs
|
||||||
public/packs-test
|
public/packs-test
|
||||||
public/500.html
|
|
||||||
.env
|
.env
|
||||||
.env.production
|
.env.production
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|
|
@ -10,7 +10,7 @@ end
|
||||||
namespace :assets do
|
namespace :assets do
|
||||||
desc 'Generate static pages'
|
desc 'Generate static pages'
|
||||||
task :generate_static_pages do
|
task :generate_static_pages do
|
||||||
render_static_page 'errors/500', layout: 'error', dest: Rails.root.join('public', '500.html')
|
render_static_page 'errors/500', layout: 'error', dest: Rails.root.join('public', 'assets', '500.html')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
assets/500.html
|
Loading…
Reference in New Issue