return File(file, content_type, "StaticFile");
}
+ [HttpGet("/sitemap")]
+ public IActionResult Sitemap()
+ {
+ string path;
+ string content_type= "text/xml";
+
+#if !DEBUG
+ path = Environment.CurrentDirectory + "/release/netcoreapp2.1/publish/wwwroot/sitemap.xml";
+#else
+ path = Environment.CurrentDirectory + "/wwwroot/sitemap.xml";
+#endif
+
+ byte[] file = System.IO.File.ReadAllBytes(path);
+ return File(file, content_type, "sitemap.xml");
+ }
+
}
}
\ No newline at end of file
<meta name="og:site_name" content="nicezip">\r
<link rel="canonical" href="https://nicezip.wabiey.com">\r
<link rel="canonical" href="https://wabiey.com">\r
+ <meta name="naver-site-verification" content="aee3b6eaab64e6d0e60c7bfbc7a87ab240a068ff" />\r
<title>@ViewData["Title"]</title>\r
\r
<link rel="stylesheet" href="/static/lib:bootstrap:dist:css:bootstrap.css" />\r
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">\r
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->\r
\r
-
-<url>
- <loc>https://nicezip.wabiey.com/</loc>
- <lastmod>2019-02-23T16:12:28+00:00</lastmod>
+\r
+<url>\r
+ <loc>https://nicezip.kr/</loc>\r
+ <lastmod>2019-02-23T16:12:28+00:00</lastmod>\r
</url>\r
\r
\r