Commit 1462b025 authored by Clint.Network's avatar Clint.Network

Debugging Culture Error

parent b3561fde
......@@ -35,6 +35,8 @@ namespace Stratis.Guru.Controllers
public IActionResult Index()
{
var rqf = Request.HttpContext.Features.Get<IRequestCultureFeature>();
Console.WriteLine(JsonConvert.SerializeObject(rqf.RequestCulture, Formatting.None));
double displayPrice = 0;
double last24Change = 0;
......
......@@ -103,7 +103,7 @@ namespace Stratis.Guru
new CultureInfo("de"),
new CultureInfo("cn")
};
app.UseRequestLocalization(new RequestLocalizationOptions
{
DefaultRequestCulture = new RequestCulture("en-US"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment