mirror of https://github.com/statping/statping
404 view
parent
6b378039aa
commit
b6e117fc8a
|
@ -7,7 +7,7 @@ about: If you're having an issue or see an error
|
||||||
### Describe the bug
|
### Describe the bug
|
||||||
Try to explain what issue your'e having in detail. You can copy and paste the issue from the log file in your root directory `/logs/statping.log`.
|
Try to explain what issue your'e having in detail. You can copy and paste the issue from the log file in your root directory `/logs/statping.log`.
|
||||||
|
|
||||||
You can set the environment variable `ALLOW_REPORTS` to `true` to allow errors to be sent to our error reporting server.
|
You can set the environment variable `ALLOW_REPORTS` to `true` to allow errors to be sent to our error reporting server. It's super helpful.
|
||||||
|
|
||||||
### To Reproduce
|
### To Reproduce
|
||||||
Steps to reproduce the behavior:
|
Steps to reproduce the behavior:
|
||||||
|
|
|
@ -7,7 +7,7 @@ about: If you're having an issue or see an error
|
||||||
### Describe the bug
|
### Describe the bug
|
||||||
A clear and concise description of what the bug is.
|
A clear and concise description of what the bug is.
|
||||||
|
|
||||||
You can set the environment variable `ALLOW_REPORTS` to `true` to allow errors to be sent to our error reporting server.
|
You can set the environment variable `ALLOW_REPORTS` to `true` to allow errors to be sent to our error reporting server. It's super helpful.
|
||||||
|
|
||||||
### To Reproduce
|
### To Reproduce
|
||||||
Steps to reproduce the behavior:
|
Steps to reproduce the behavior:
|
||||||
|
@ -20,6 +20,6 @@ Steps to reproduce the behavior:
|
||||||
A clear and concise description of what you expected to happen.
|
A clear and concise description of what you expected to happen.
|
||||||
|
|
||||||
### Screenshots or Logs
|
### Screenshots or Logs
|
||||||
If applicable, add screenshots to help explain your problem. If you can, provide any logs from the latest `logs/statping.log` file.
|
If applicable, add screenshots to help explain your problem. If you can, provide any logs from the latest `logs/statping.log` file.
|
||||||
|
|
||||||
[](https://slack.statping.com/) [](https://github.com/statping/statping/releases/latest) [](https://travis-ci.com/hunterlong/statup)
|
[](https://slack.statping.com/) [](https://github.com/statping/statping/releases/latest) [](https://travis-ci.com/hunterlong/statup)
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
<template>
|
||||||
|
<div class="row mt-4">
|
||||||
|
<div class="mx-auto">
|
||||||
|
<img alt="Statping 404" class="" style="max-width:480px" src="banner.png">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-12 mt-5 mb-5">
|
||||||
|
<div class="text-center">
|
||||||
|
<h2>Page Not Found</h2>
|
||||||
|
<h5 class="text-muted">This URL doesn't seem to be available</h5>
|
||||||
|
|
||||||
|
<router-link class="btn btn-outline-success mt-4" to="/">Back To Homepage</router-link>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'NotFound',
|
||||||
|
}
|
||||||
|
</script>
|
|
@ -13,6 +13,7 @@ const Setup = () => import('@/forms/Setup')
|
||||||
const Incidents = () => import('@/components/Dashboard/Incidents')
|
const Incidents = () => import('@/components/Dashboard/Incidents')
|
||||||
const Checkins = () => import('@/components/Dashboard/Checkins')
|
const Checkins = () => import('@/components/Dashboard/Checkins')
|
||||||
const Failures = () => import('@/components/Dashboard/Failures')
|
const Failures = () => import('@/components/Dashboard/Failures')
|
||||||
|
const NotFound = () => import('@/pages/NotFound')
|
||||||
|
|
||||||
import VueRouter from "vue-router";
|
import VueRouter from "vue-router";
|
||||||
import Api from "./API";
|
import Api from "./API";
|
||||||
|
@ -131,6 +132,11 @@ const routes = [
|
||||||
name: 'Service',
|
name: 'Service',
|
||||||
component: Service,
|
component: Service,
|
||||||
props: true
|
props: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '*',
|
||||||
|
component: NotFound,
|
||||||
|
name: 'NotFound',
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue