Here are the steps to follow.
Step 1 => Open main.js file in assets/js folder and find the mailchimp active code.
Step 2 => Change the URL value from the code with your Mailchimp action URL. See the Screenshot
Note: If you want to know where to find the URL you can see this post