Remember asm docs in browser (#8216)

This commit is contained in:
Patrick Quist
2025-10-28 09:45:26 +01:00
committed by GitHub
parent f5f1566bff
commit b707712ac6

View File

@@ -48,7 +48,9 @@ const request = async <R>(uri: string, options?: RequestInit): Promise<TypedResp
/** GET /api/asm/:arch/:instruction */
export const getAssemblyDocumentation = async (options: AssemblyDocumentationRequest) =>
await request<AssemblyDocumentationResponse>(`/asm/${options.instructionSet}/${options.opcode}`);
await request<AssemblyDocumentationResponse>(`/asm/${options.instructionSet}/${options.opcode}`, {
credentials: 'omit',
});
/** POST /api/format/:formatter */
export const getFormattedCode = async (options: FormattingRequest) =>