diff --git a/Mozi.HttpEmbedded.Test/Mozi.HttpEmbedded.Test.csproj b/Mozi.HttpEmbedded.Test/Mozi.HttpEmbedded.Test.csproj index deeb4621b893249f4419fc56c05eaac9ce12654e..6dab74d51bd181b51cb84e564d7a35a116130ee1 100644 --- a/Mozi.HttpEmbedded.Test/Mozi.HttpEmbedded.Test.csproj +++ b/Mozi.HttpEmbedded.Test/Mozi.HttpEmbedded.Test.csproj @@ -5612,16 +5612,16 @@ PreserveNewest - + PreserveNewest - + PreserveNewest - + PreserveNewest - + PreserveNewest diff --git a/Mozi.HttpEmbedded.Test/admin/assets/js/lib/c3.min.js b/Mozi.HttpEmbedded.Test/admin/assets/js/c3/c3.min.js similarity index 100% rename from Mozi.HttpEmbedded.Test/admin/assets/js/lib/c3.min.js rename to Mozi.HttpEmbedded.Test/admin/assets/js/c3/c3.min.js diff --git a/Mozi.HttpEmbedded.Test/admin/assets/js/lib/d3.min.js b/Mozi.HttpEmbedded.Test/admin/assets/js/c3/d3.min.js similarity index 100% rename from Mozi.HttpEmbedded.Test/admin/assets/js/lib/d3.min.js rename to Mozi.HttpEmbedded.Test/admin/assets/js/c3/d3.min.js diff --git a/Mozi.HttpEmbedded.Test/admin/assets/js/lib/jquery-2.1.3.min.js b/Mozi.HttpEmbedded.Test/admin/assets/js/jquery/jquery-2.1.3.min.js similarity index 100% rename from Mozi.HttpEmbedded.Test/admin/assets/js/lib/jquery-2.1.3.min.js rename to Mozi.HttpEmbedded.Test/admin/assets/js/jquery/jquery-2.1.3.min.js diff --git a/Mozi.HttpEmbedded.Test/admin/assets/js/lib/jquery.min.js b/Mozi.HttpEmbedded.Test/admin/assets/js/jquery/jquery.min.js similarity index 100% rename from Mozi.HttpEmbedded.Test/admin/assets/js/lib/jquery.min.js rename to Mozi.HttpEmbedded.Test/admin/assets/js/jquery/jquery.min.js diff --git a/Mozi.HttpEmbedded.Test/admin/components-buttons.html b/Mozi.HttpEmbedded.Test/admin/components-buttons.html index 11916d2464ffd06804488da55b957106e22c0513..40bc323d2f5226fe0d7d9a56282a653da94e5e5c 100644 --- a/Mozi.HttpEmbedded.Test/admin/components-buttons.html +++ b/Mozi.HttpEmbedded.Test/admin/components-buttons.html @@ -324,7 +324,7 @@
Connected as John Smith© PAOMEDIA SARL
- + diff --git a/Mozi.HttpEmbedded.Test/admin/components-interactive.html b/Mozi.HttpEmbedded.Test/admin/components-interactive.html index 2caa9392f2d81729672e1ab8508d6cd32d042c4e..bf1cbe47bd334ca1ecaf48432dabf81f023d29de 100644 --- a/Mozi.HttpEmbedded.Test/admin/components-interactive.html +++ b/Mozi.HttpEmbedded.Test/admin/components-interactive.html @@ -322,7 +322,7 @@
Connected as John Smith© PAOMEDIA SARL
- + diff --git a/Mozi.HttpEmbedded.Test/admin/components-text.html b/Mozi.HttpEmbedded.Test/admin/components-text.html index 016c11191e17c7e8247ef9fe145c514bc0a25b48..7ac915cd6085630dbc18daa799ce6fd2a38cd698 100644 --- a/Mozi.HttpEmbedded.Test/admin/components-text.html +++ b/Mozi.HttpEmbedded.Test/admin/components-text.html @@ -364,7 +364,7 @@
Connected as John Smith© PAOMEDIA SARL
- + diff --git a/Mozi.HttpEmbedded.Test/admin/dashboard-sales.html b/Mozi.HttpEmbedded.Test/admin/dashboard-sales.html index 2e98aefcd877a05ff6515455bfb3fc6f2e0648d3..ceb08064e6057ded3ccfb1b05c7f506a784004d6 100644 --- a/Mozi.HttpEmbedded.Test/admin/dashboard-sales.html +++ b/Mozi.HttpEmbedded.Test/admin/dashboard-sales.html @@ -224,14 +224,14 @@
Connected as John Smith© PAOMEDIA SARL
- + - - + + diff --git a/Mozi.HttpEmbedded.Test/admin/dashboard-server_stats.html b/Mozi.HttpEmbedded.Test/admin/dashboard-server_stats.html index b9eb2194a9770176dd0cb589c88ef7770e5d5fb0..8920814e39f00ebb586beee4d8fab97efee71419 100644 --- a/Mozi.HttpEmbedded.Test/admin/dashboard-server_stats.html +++ b/Mozi.HttpEmbedded.Test/admin/dashboard-server_stats.html @@ -128,8 +128,8 @@
Connected as John Smith© PAOMEDIA SARL
- - + + diff --git a/Mozi.HttpEmbedded.Test/admin/dashboard-visitors.html b/Mozi.HttpEmbedded.Test/admin/dashboard-visitors.html index dd41bdef538267097f84cbb926864329d4531429..9bbc55020f662283fc51a7b9ecd7472698927755 100644 --- a/Mozi.HttpEmbedded.Test/admin/dashboard-visitors.html +++ b/Mozi.HttpEmbedded.Test/admin/dashboard-visitors.html @@ -191,7 +191,7 @@
Connected as John Smith© PAOMEDIA SARL
- + diff --git a/Mozi.HttpEmbedded.Test/admin/ico-fa.html b/Mozi.HttpEmbedded.Test/admin/ico-fa.html index 28d3595d74885eabd0ca25414005780a155790ab..46492874c5114c47ab71337bd87deabed198fc97 100644 --- a/Mozi.HttpEmbedded.Test/admin/ico-fa.html +++ b/Mozi.HttpEmbedded.Test/admin/ico-fa.html @@ -719,7 +719,7 @@
Connected as John Smith© PAOMEDIA SARL
- + diff --git a/Mozi.HttpEmbedded.Test/admin/ico-md.html b/Mozi.HttpEmbedded.Test/admin/ico-md.html index 38d56d3c7a03f53c8cc977c67232e499f4cb946c..0f790ade4adaec79ca4bcb421728c3864553b4b2 100644 --- a/Mozi.HttpEmbedded.Test/admin/ico-md.html +++ b/Mozi.HttpEmbedded.Test/admin/ico-md.html @@ -3115,7 +3115,7 @@
Connected as John Smith© PAOMEDIA SARL
- + diff --git a/Mozi.HttpEmbedded.Test/admin/ico-sf.html b/Mozi.HttpEmbedded.Test/admin/ico-sf.html index 4e7a8e6e7a15b4300619abf60c5bcaa7d7db2772..59f26546e436125229975f6e5ab5bc862a58d54a 100644 --- a/Mozi.HttpEmbedded.Test/admin/ico-sf.html +++ b/Mozi.HttpEmbedded.Test/admin/ico-sf.html @@ -800,7 +800,7 @@
Connected as John Smith© PAOMEDIA SARL
- + diff --git a/Mozi.HttpEmbedded.Test/admin/index.html b/Mozi.HttpEmbedded.Test/admin/index.html index 485c74329332fe3d521c0783e253766332941d65..4def02001dbd154b30cbe7d0816f5142aa78b700 100644 --- a/Mozi.HttpEmbedded.Test/admin/index.html +++ b/Mozi.HttpEmbedded.Test/admin/index.html @@ -261,7 +261,7 @@
Connected as John Smith© PAOMEDIA SARL
- + diff --git a/Mozi.HttpEmbedded.Test/admin/layouts-breadcrumb1.html b/Mozi.HttpEmbedded.Test/admin/layouts-breadcrumb1.html index d8e069395bcbc58cb74d43cafd9fb89fbbb8b8c9..d3c27102a759beb05ba7b2f2fa3878b5c0c0be53 100644 --- a/Mozi.HttpEmbedded.Test/admin/layouts-breadcrumb1.html +++ b/Mozi.HttpEmbedded.Test/admin/layouts-breadcrumb1.html @@ -185,7 +185,7 @@
Connected as John Smith© PAOMEDIA SARL
- + diff --git a/Mozi.HttpEmbedded.Test/admin/layouts-breadcrumb2.html b/Mozi.HttpEmbedded.Test/admin/layouts-breadcrumb2.html index 7eaba84c9572fa77f2230b84e41f3fe8ecdaa9de..bcc591b86de307cc7c66e62785ba28c10bf39bc9 100644 --- a/Mozi.HttpEmbedded.Test/admin/layouts-breadcrumb2.html +++ b/Mozi.HttpEmbedded.Test/admin/layouts-breadcrumb2.html @@ -190,7 +190,7 @@
Connected as John Smith© PAOMEDIA SARL
- + diff --git a/Mozi.HttpEmbedded.Test/admin/layouts-tabs.html b/Mozi.HttpEmbedded.Test/admin/layouts-tabs.html index d2bf9f24062c7349d160bc280daaad07e3d42661..f3e1dca6843b8aba4f3eb5219854174e0fd9cb8d 100644 --- a/Mozi.HttpEmbedded.Test/admin/layouts-tabs.html +++ b/Mozi.HttpEmbedded.Test/admin/layouts-tabs.html @@ -258,7 +258,7 @@
Connected as John Smith© PAOMEDIA SARL
- + diff --git a/Mozi.HttpEmbedded.Test/admin/notepad.html b/Mozi.HttpEmbedded.Test/admin/notepad.html index c85f899b705a113d62f2aa16456a7891dd61161b..8611eef81cd175ccf19e4e6310951c84aa8856f3 100644 --- a/Mozi.HttpEmbedded.Test/admin/notepad.html +++ b/Mozi.HttpEmbedded.Test/admin/notepad.html @@ -128,7 +128,7 @@
Connected as John Smith© PAOMEDIA SARL
- + diff --git a/Mozi.HttpEmbedded/Source/StaticFiles.cs b/Mozi.HttpEmbedded/Source/StaticFiles.cs index 4084f021ec445034ac69df0720af2698ba697f64..2a2b1d1f383eabb99a2f9e0ff8346c128bea2bf0 100644 --- a/Mozi.HttpEmbedded/Source/StaticFiles.cs +++ b/Mozi.HttpEmbedded/Source/StaticFiles.cs @@ -38,9 +38,9 @@ namespace Mozi.HttpEmbedded.Source { if (!string.IsNullOrEmpty(root)) { - if (!root.EndsWith("/")) + if (!root.EndsWith("\\")) { - root = root + "/"; + root = root + "\\"; } //TODO 区分相对路径和绝对路径 if (Path.IsPathRooted(root))