update website

This commit is contained in:
RainSun 2020-04-19 11:24:16 +08:00
parent 62ba1ff8db
commit 1cf44893e9
3 changed files with 7 additions and 5 deletions

View File

@ -1,8 +1,10 @@
import axios from 'axios'
export const api = axios.create({
baseURL: 'https://ccb.canary.moe/api/',
// baseURL: 'https://api.lacus.site/ccb/',
// baseURL: 'https://ccb.canary.moe/api/',
baseURL: window.location.origin + '/api/',
// baseURL: 'https://canary.lacus.site/api/',
// baseURL: 'http://beta.lacus.site/api/',
// baseURL: 'http://152.136.99.231:8001' + '/api/',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',

View File

@ -21,7 +21,7 @@
<md-field :class="password_verify ? '' : 'md-invalid'">
<label>{{ lang.login.input_placeholder[1] }}</label>
<md-input v-model="password" required></md-input>
<md-input v-model="password" required type="password"></md-input>
<span class="md-error">{{ lang.login.password_errmsg }}</span>
</md-field>
<md-button class="md-raised md-primary expand" @click="judgeLogin()" :disabled="login_loading">

View File

@ -128,7 +128,7 @@ export default {
unlock: false,
show_snackbar: false,
snakebar_msg: '',
web_addr: 'https://ccb.canary.moe',
web_addr: 'https://canary.lacus.site',
titles: [],
search_content: '',
search_start: false,
@ -381,7 +381,7 @@ export default {
// apk
downloadApk() {
window.open('https://ccb.canary.moe/download/Canary.apk');
window.open('https://assets.lacus.site/canary/canary.apk');
},
//