Mautic-form.js > modal.min.css - Wrong base URL in Jscript function

Your software
My Mautic version is:4.0.2
My PHP version is: 7.4.26
My Database type and version is: 10.2.41-MariaDB

Your problem
My problem is: I have the manual input form code and have noticed an error in the console.
mautic-form.js?vf883ce15:43 GET https://torontoheadshot.com/media/css/modal.min.css net::ERR_ABORTED 404
Modal.loadStyle @ mautic-form.js?vf883ce15:43
Core.initialize @ mautic-form.js?vf883ce15:47
(anonymous) @ mautic-form.js?vf883ce15:48
(anonymous) @ mautic-form.js?vf883ce15:49

image

My Mautic install base URI is marketing.torontoheadshot.com but the script is looking for the CSS at the root domain instead.

These errors are showing in the log: Just 404’s

Steps I have tried to fix the problem: I checked the mautic-form.js file and on line 43 it is calling for;

Core.getMauticBaseUrl()+‘media/css/modal.min.css’

I could not find the function that gets the base URL to check for an error.