fix: change request baseUrl to dynamic (#737)

This commit is contained in:
zuomeng wang
2023-01-13 18:42:37 +08:00
committed by GitHub
parent a739c1f773
commit b8efa9aa25

View File

@@ -9,7 +9,7 @@ const messageCenter = MessageCenter.getInstance();
const _sendMessage = messageCenter.getMessageSender('affine');
export const bareClient: KyInstance = ky.extend({
prefixUrl: 'http://localhost:8080',
prefixUrl: '/',
retry: 1,
hooks: {
// afterResponse: [