提交H5业务闭环修复代码
This commit is contained in:
@@ -14,7 +14,10 @@ export const normalizeSameOriginPublicUrl = (url: string | null | undefined) =>
|
||||
if (
|
||||
isSameServer
|
||||
&& parsed.port === '9000'
|
||||
&& parsed.pathname.startsWith('/museum-assets/')
|
||||
&& (
|
||||
parsed.pathname.startsWith('/museum-assets/')
|
||||
|| parsed.pathname.startsWith('/tts-audio/')
|
||||
)
|
||||
) {
|
||||
return `${parsed.pathname}${parsed.search}${parsed.hash}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user