mirror of https://github.com/usememos/memos.git
chore: enable binary format for transport
This commit is contained in:
parent
a8dbc1fd5e
commit
72c7965c8f
|
|
@ -127,7 +127,7 @@ const authInterceptor: Interceptor = (next) => async (req) => {
|
|||
|
||||
const transport = createConnectTransport({
|
||||
baseUrl: window.location.origin,
|
||||
useBinaryFormat: false,
|
||||
useBinaryFormat: true,
|
||||
fetch: fetchWithCredentials,
|
||||
interceptors: [authInterceptor],
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue