You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
366 B
21 lines
366 B
3 years ago
|
<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>
|