mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-12 04:03:42 +08:00
merge luma page code for v4.1.3
This commit is contained in:
@@ -221,10 +221,10 @@ export function showLoginDialog(router) {
|
||||
}
|
||||
|
||||
export const replaceImg =(img) => {
|
||||
const devhost = "172.22.11.69"
|
||||
const devHost = "172.22.11.69"
|
||||
const localhost = "localhost"
|
||||
if (img.includes(localhost)) {
|
||||
return img?.replace(localhost, devhost)
|
||||
return img?.replace(localhost, devHost)
|
||||
}
|
||||
return img
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user