uptime-kuma/src/pages/Entry.vue
2021-09-23 16:31:45 +08:00

20 lines
366 B
Vue

<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-page");
} else {
this.$router.push("/dashboard");
}
},
};
</script>