mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-11 19:53:50 +08:00
feat: 生成视频页面2
This commit is contained in:
@@ -220,3 +220,12 @@ export function showLoginDialog(router) {
|
||||
});
|
||||
}
|
||||
|
||||
export const replaceImg =(img) => {
|
||||
const devhost = "172.22.11.69"
|
||||
const localhost = "localhost"
|
||||
if (img.includes(localhost)) {
|
||||
return img?.replace(localhost, devhost)
|
||||
}
|
||||
return img
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user