Multi Domain SES and SSL

I have been using the MultiDomain SES Interceptor found here and recently had a requirement to use SSL as well. As with most things ColdBox, there is already an interceptor for that as well

However, one thing that I had to change was that MultiDomain SES always uses http:// without considering https://

So, one small change and this was fixed.

        arguments.event.setSESBaseURL("https://" & cgi.http_host );
      } else {
        arguments.event.setSESBaseURL("http://" & cgi.http_host );

Just thought I will post it here. Ofcourse the MultiDomain interceptor needs to be before the SSL interceptor in the config file.

Anuj Gakhar