mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-03-07 21:56:11 -05:00
21 lines
366 B
Vue
21 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>
|