mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
fix: change request baseUrl to dynamic (#737)
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user