mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
Analytics, Fix SMTP fuckup.
This commit is contained in:
parent
476bce6bb2
commit
be84c80ba1
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -9,6 +9,9 @@
|
|||
# Application Insights config
|
||||
ApplicationInsights.config
|
||||
|
||||
# SMTP configuration
|
||||
smtp.config
|
||||
|
||||
# Publish Profiles
|
||||
[Pp]roperties/[Pp]ublish[Pp]rofiles/
|
||||
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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" />
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user