-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add error 500 view, handle redirect for SSR
- Loading branch information
jlpereira
committed
Aug 29, 2023
1 parent
52b4fea
commit b3816f7
Showing
11 changed files
with
92 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| import internalError from '../view/500.vue' | ||
| import notFound from '../view/404.vue' | ||
|
|
||
| export default [ | ||
| { | ||
| path: '/500', | ||
| name: 'httpError500', | ||
| component: internalError | ||
| }, | ||
| { | ||
| path: '/:pathMatch(.*)*', | ||
| name: 'httpError400', | ||
| component: notFound | ||
| } | ||
| ] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| <template> | ||
| <div class="container mx-auto text-center relative top-1/4"> | ||
| <h1 class="text-7xl text-base-lighter">500</h1> | ||
| <p>Internal Server Error.</p> | ||
| <p class="m-4 my-10 text-xl"> | ||
| Uh oh, looks like something went wrong!<br /> | ||
| We track these errors automatically, but if the problem persists feel free | ||
| to contact us. | ||
| </p> | ||
| </div> | ||
| </template> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters