diff --git a/wp-mat.php b/wp-mat.php
index c435f9924e8df8ef407ba14771da1bdd3de8621a..c9c816a9af986007fcab431c422dfb1132831f29 100644
--- a/wp-mat.php
+++ b/wp-mat.php
@@ -3,7 +3,7 @@
  * Plugin Name: wp-mat
  * Plugin URI: https://git.autistici.org/noblogs/wp-mat
  * Description: Process uploaded files through MAT
- * Version: 0.0.5
+ * Version: 0.0.6
  * Author: Autistici/Inventati
  * Author URI: https://www.autistici.org/
  * License: MIT
@@ -11,7 +11,7 @@
  */
 
 if (!defined("WP_MAT_ENDPOINT")) {
-    define("WP_MAT_ENDPOINT", "http://localhost:7111");
+    define("WP_MAT_ENDPOINT", "http://localhost:7111/api/cleanup");
 }
 
 // Check if the mime type is one of those we want to clean up.