diff --git a/.replit b/.replit index 444c9ab..901734f 100644 --- a/.replit +++ b/.replit @@ -39,6 +39,10 @@ externalPort = 5000 localPort = 41343 externalPort = 3001 +[[ports]] +localPort = 43315 +externalPort = 6000 + [[ports]] localPort = 44549 externalPort = 5173 diff --git a/after_load.png b/after_load.png new file mode 100644 index 0000000..9e3f72f Binary files /dev/null and b/after_load.png differ diff --git a/client/src/pages/DlcPage.tsx b/client/src/pages/DlcPage.tsx index a77fb79..f7ce77d 100644 --- a/client/src/pages/DlcPage.tsx +++ b/client/src/pages/DlcPage.tsx @@ -159,7 +159,7 @@ export default function DlcPage() { // Validate mutation - optimized cache invalidation const validateMutation = useMutation({ - mutationFn: (id: number) => apiRequest(`/api/dlc-products/${id}/validate`, "PUT"), + mutationFn: (id: number) => apiRequest(`/api/dlc-products/${id}/validate`, "POST"), onSuccess: () => { queryClient.invalidateQueries({ queryKey: ["/api/dlc-products"], exact: false }); queryClient.invalidateQueries({ queryKey: ["/api/dlc-products/stats"], exact: false });