fix(striker-ui-api): correct pattern in disassemble server ss name

main
Tsu-ba-me 1 year ago
parent 672f5e5422
commit 684906e0a2
  1. 2
      striker-ui-api/src/lib/request_handlers/server/getServerDetail.ts

@ -17,7 +17,7 @@ type ServerSsMeta = {
const disassembleServerSsName = (name: string): ServerSsMeta => {
const csv = name.replace(
new RegExp(`^server-uuid_(${P_UUID})_timestamp-(\\d+)`),
new RegExp(`^server-uuid_(${P_UUID})_timestamp-(\\d+).*$`),
'$1,$2',
);

Loading…
Cancel
Save