diff --git a/striker-ui-api/src/lib/request_handlers/anvil/getAnvilCpu.ts b/striker-ui-api/src/lib/request_handlers/anvil/getAnvilCpu.ts index 1c28d9e0..ba152df2 100644 --- a/striker-ui-api/src/lib/request_handlers/anvil/getAnvilCpu.ts +++ b/striker-ui-api/src/lib/request_handlers/anvil/getAnvilCpu.ts @@ -102,7 +102,8 @@ export const getAnvilCpu: RequestHandler = async ( const cores = Number(rCores); const threads = Number(rThreads); - const vendor = model.replace(/^(\w+).*$/, '$1'); + const matched = model.match(/amd|arm|intel|powerpc/i); + const vendor = matched ? matched[0] : model.replace(/^(\w+).*$/, '$1'); previous.hosts[uuid] = { cores,