mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-07 22:12:24 -04:00
set entry page
This commit is contained in:
parent
e8f4fabcd0
commit
512ff09cca
7 changed files with 62 additions and 26 deletions
|
@ -150,13 +150,6 @@ import axios from "axios";
|
|||
import GroupList from "../components/GroupList.vue";
|
||||
import ImageCropUpload from "vue-image-crop-upload";
|
||||
|
||||
const env = process.env.NODE_ENV || "production";
|
||||
|
||||
// change the axios base url for development
|
||||
if (env === "development" || localStorage.dev === "dev") {
|
||||
axios.defaults.baseURL = location.protocol + "//" + location.hostname + ":3001";
|
||||
}
|
||||
|
||||
const leavePageMsg = "Do you really want to leave? you have unsaved changes!";
|
||||
|
||||
export default {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue