소스 검색

Fix #5274 - Create symlink from public/500.html to public/assets/500.html (#5288)

tags/v2.0.0rc1
Eugen Rochko 3 년 전
committed by GitHub
부모
커밋
92e7815d1d
3개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +0
    -1
      .gitignore
  2. +1
    -1
      lib/tasks/assets.rake
  3. +1
    -0
      public/500.html

+ 0
- 1
.gitignore 파일 보기

@@ -21,7 +21,6 @@ public/system
public/assets
public/packs
public/packs-test
public/500.html
.env
.env.production
node_modules/


+ 1
- 1
lib/tasks/assets.rake 파일 보기

@@ -10,7 +10,7 @@ end
namespace :assets do
desc 'Generate static pages'
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



+ 1
- 0
public/500.html 파일 보기

@@ -0,0 +1 @@
assets/500.html

불러오는 중...
취소
저장