Analytics, Fix SMTP fuckup.

This commit is contained in:
Thomas Hounsell 2015-02-20 21:50:40 +00:00
parent 476bce6bb2
commit be84c80ba1
4 changed files with 12 additions and 7 deletions

3
.gitignore vendored
View File

@ -9,6 +9,9 @@
# Application Insights config
ApplicationInsights.config
# SMTP configuration
smtp.config
# Publish Profiles
[Pp]roperties/[Pp]ublish[Pp]rofiles/

View File

@ -25,6 +25,10 @@ $(function () {
content.append(item);
search.after(content);
$(".panel-search a.list-group-item").click(function () {
ga('send', 'pageview', '/api/GetSearchResult/?query=' + $("#search-input").val());
});
});
}, 200);
});

View File

@ -28,13 +28,6 @@
</customErrors>
-->
</system.web>
<system.net xdt:Transform="Insert">
<mailSettings>
<smtp deliveryMethod="Network" from="smtp@betawiki.net">
<network host="localhost" port="25" userName="smtp@betawiki.net" password="frEchEramejAQUVewrADE7uc" />
</smtp>
</mailSettings>
</system.net>
<system.webServer>
<modules>
<remove name="ApplicationInsightsWebTracking" xdt:Transform="Insert" />

View File

@ -43,6 +43,11 @@
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Extensibility.Web.RequestTracking.WebRequestTrackingModule, Microsoft.ApplicationInsights.Extensibility.Web"/>
</httpModules>
</system.web>
<system.net>
<mailSettings>
<smtp configSource="smtp.config" />
</mailSettings>
</system.net>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>