Fix default page!
This commit is contained in:
Vendored
+1
-1
@@ -17,7 +17,7 @@ pipeline {
|
||||
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=169']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=170']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '0.7.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2019-07-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '0.7.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2019-07-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'NKC'
|
||||
|
||||
@@ -13,6 +13,16 @@ namespace NKC_WF
|
||||
routes.EnableFriendlyUrls(settings);
|
||||
|
||||
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
|
||||
|
||||
// route default URL to index.aspx
|
||||
routes.MapPageRoute(
|
||||
routeName: "DefaultToHTML",
|
||||
routeUrl: "",
|
||||
physicalFile: "~/Default.aspx",
|
||||
checkPhysicalUrlAccess: false,
|
||||
defaults: new RouteValueDictionary(),
|
||||
constraints: new RouteValueDictionary { { "placeholder", "" } }
|
||||
);
|
||||
|
||||
routes.MapRoute(
|
||||
name: "Default",
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/SiteContent.master" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="NKC_WF.Index" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<h1>Welcome!</h1>
|
||||
</asp:Content>
|
||||
@@ -1,17 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace NKC_WF
|
||||
{
|
||||
public partial class Index : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
Response.Redirect("site/Default");
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
-15
@@ -1,15 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace NKC_WF {
|
||||
|
||||
|
||||
public partial class Index {
|
||||
}
|
||||
}
|
||||
@@ -272,7 +272,6 @@
|
||||
<Content Include="Images\test_ok.svg" />
|
||||
<Content Include="Images\Test11.svg" />
|
||||
<Content Include="Images\WIP.png" />
|
||||
<Content Include="Index.aspx" />
|
||||
<Content Include="site\KitRequestImporter.aspx" />
|
||||
<Content Include="site\Kitting.aspx" />
|
||||
<Content Include="site\Login.aspx" />
|
||||
@@ -501,13 +500,6 @@
|
||||
<Compile Include="site\Home.aspx.designer.cs">
|
||||
<DependentUpon>Home.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Index.aspx.cs">
|
||||
<DependentUpon>Index.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Index.aspx.designer.cs">
|
||||
<DependentUpon>Index.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="site\KitRequestImporter.aspx.cs">
|
||||
<DependentUpon>KitRequestImporter.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
Reference in New Issue
Block a user