uptime-kuma/src/pages/Entry.vue

21 lines
361 B
Vue
Raw Normal View History

2021-09-23 01:57:24 -04:00
<template>
<div></div>
</template>
<script>
import axios from "axios";
export default {
async mounted() {
let entryPage = (await axios.get("/api/entry-page")).data;
if (entryPage === "statusPage") {
this.$router.push("/status");
2021-09-23 01:57:24 -04:00
} else {
this.$router.push("/dashboard");
}
},
};
</script>