mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
Remember asm docs in browser (#8216)
This commit is contained in:
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user