From d74f94f8a2a1f663c5054c4d1c9233d2e803b129 Mon Sep 17 00:00:00 2001 From: yongenaelf <132553186+yongenaelf@users.noreply.github.com> Date: Thu, 21 Nov 2024 13:54:41 +0800 Subject: [PATCH] fix: backend path for audit --- data/audit.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/data/audit.ts b/data/audit.ts index e074a17..efcc11f 100644 --- a/data/audit.ts +++ b/data/audit.ts @@ -14,14 +14,14 @@ export enum AuditType { const URL_CONFIG = { [AuditType.DEFAULT]: { - uploadContractCode: "/api/playground/audit/uploadContractCode", - auditContractCode: "/api/playground/audit/auditContractCode", - report: "/api/playground/report", + uploadContractCode: "/api/audit/uploadContractCode", + auditContractCode: "/api/audit/auditContractCode", + report: "/api/report", }, [AuditType.SAVE_GAS_FEE]: { - uploadContractCode: "/api/playground/adjustGasFee/uploadContractCode", - auditContractCode: "/api/playground/adjustGasFee/execute", - report: "/api/playground/adjustGasFee/report", + uploadContractCode: "/api/adjustGasFee/uploadContractCode", + auditContractCode: "/api/adjustGasFee/execute", + report: "/api/adjustGasFee/report", }, };