From 7fe7e3cf20cdd52c027d43bb7bf4de7d784ab14c Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Fri, 2 Jun 2023 11:18:08 +0100
Subject: [PATCH] Fix default WP_MAT_ENDPOINT

---
 wp-mat.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wp-mat.php b/wp-mat.php
index c435f99..c9c816a 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.
-- 
GitLab