fix:发版备份
This commit is contained in:
parent
7c5ddacbaa
commit
76cd767afa
|
@ -45,9 +45,11 @@ http {
|
|||
|
||||
# 第二个页面的配置
|
||||
location ^~ /mobile/ {
|
||||
root /usr/share/nginx/html;
|
||||
# index index.html index.htm;
|
||||
# try_files $uri $uri.html $uri/ =404;
|
||||
alias /usr/share/nginx/html/mobile/;
|
||||
index index.html index.htm;
|
||||
try_files $uri $uri.html $uri/ =404;
|
||||
try_files $uri $uri/ /mobile/index.html;
|
||||
}
|
||||
|
||||
location ^~ /todo-server/ {
|
||||
|
|
|
@ -9,7 +9,7 @@ export default function Home() {
|
|||
useEffect(()=>{
|
||||
if(localStorage.getItem('platform-security')){
|
||||
if (isMobile){
|
||||
window.location.href = 'http://www.huaruyu.com/mobile'
|
||||
window.location.href = 'http://www.huaruyu.com:80/mobile/listTask'
|
||||
}else {
|
||||
replace("/task/project")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue