login接口走https
This commit is contained in:
parent
ec72f77e53
commit
a102a7131e
|
@ -35,7 +35,7 @@ export async function login(data): Promise<IUser> {
|
||||||
if (import.meta.env.VITE_BUILD_TIMESTAMP) {
|
if (import.meta.env.VITE_BUILD_TIMESTAMP) {
|
||||||
// 此登录请求走https接口
|
// 此登录请求走https接口
|
||||||
return request({
|
return request({
|
||||||
baseURL: 'https://lolosia.top/home/api/',
|
baseURL: 'https://www.lolosia.top/home/api/',
|
||||||
url: '/logout',
|
url: '/logout',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
responseType: 'json',
|
responseType: 'json',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user