|
|
@@ -279,10 +279,11 @@
|
|
|
let reditUrl = fullPath
|
|
|
let path1 = path.replace("/user/", "/u/")
|
|
|
reditUrl = path.replace(path, path1)
|
|
|
+ console.log("jishuinUser redirect", reditUrl)
|
|
|
redirect(301, reditUrl)
|
|
|
}
|
|
|
|
|
|
- //拼接canonical
|
|
|
+ //拼接canonical
|
|
|
if (host.indexOf('local') !== -1) {
|
|
|
canonical = 'http://' + host + url
|
|
|
} else {
|