mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-24 07:14:04 +00:00
20 lines
361 B
Vue
20 lines
361 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");
|
|
} else {
|
|
this.$router.push("/dashboard");
|
|
}
|
|
},
|
|
|
|
};
|
|
</script>
|