fix: 修复服务端插件路径不正确的问题

pull/49/head
moonrailgun 3 years ago
parent 00becacee3
commit 9e618c5828

@ -2,7 +2,7 @@ import { buildRegFnWithEvent } from './buildReg';
/** /**
* *
* @default "/" () * @default window.location.origin ()
*/ */
export const [getServiceUrl, setServiceUrl, onServiceUrlChange] = export const [getServiceUrl, setServiceUrl, onServiceUrlChange] =
buildRegFnWithEvent<() => string>('serverUrl', () => '/'); buildRegFnWithEvent<() => string>('serverUrl', () => window.location.origin);

Loading…
Cancel
Save