add pub profile
This commit is contained in:
@@ -13,6 +13,7 @@ namespace lmltfy.Controllers
|
||||
|
||||
[Route("")]
|
||||
[Route("h/{application}")]
|
||||
[OutputCache(Duration = int.MaxValue, Location = System.Web.UI.OutputCacheLocation.ServerAndClient, VaryByParam = "application")]
|
||||
public ActionResult Index(string application = AppNames.Lycos)
|
||||
{
|
||||
var app = application.ToAppEnum();
|
||||
@@ -42,7 +43,7 @@ namespace lmltfy.Controllers
|
||||
|
||||
[HttpGet]
|
||||
[Route("{url}")]
|
||||
// [OutputCache(Duration = 86400, Location = System.Web.UI.OutputCacheLocation.ServerAndClient, VaryByParam = "url")]
|
||||
[OutputCache(Duration = 86400, Location = System.Web.UI.OutputCacheLocation.ServerAndClient, VaryByParam = "url")]
|
||||
public ActionResult Search(string url)
|
||||
{
|
||||
var model = db.SearchModels.FirstOrDefault(a => a.Url == url);
|
||||
|
||||
@@ -199,6 +199,7 @@
|
||||
<Content Include="Scripts\bootstrap.js" />
|
||||
<Content Include="Scripts\bootstrap.min.js" />
|
||||
<Content Include="ApplicationInsights.config" />
|
||||
<None Include="Properties\PublishProfiles\lmltfy.pubxml" />
|
||||
<None Include="Scripts\jquery-1.10.2.intellisense.js" />
|
||||
<Content Include="Scripts\jquery-1.10.2.js" />
|
||||
<Content Include="Scripts\jquery-1.10.2.min.js" />
|
||||
@@ -235,7 +236,6 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="App_Data\" />
|
||||
<Folder Include="Properties\PublishProfiles\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="fonts\glyphicons-halflings-regular.woff" />
|
||||
|
||||
Reference in New Issue
Block a user