Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
guru
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
guru
Commits
408921c2
Commit
408921c2
authored
Nov 08, 2018
by
Clint.Network
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Debugging Culture Error
parent
a0f162f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
Startup.cs
Stratis.Guru/Startup.cs
+5
-3
No files found.
Stratis.Guru/Startup.cs
View file @
408921c2
...
@@ -93,6 +93,10 @@ namespace Stratis.Guru
...
@@ -93,6 +93,10 @@ namespace Stratis.Guru
EnableDefaultFiles
=
true
,
EnableDefaultFiles
=
true
,
DefaultFilesOptions
=
{
DefaultFileNames
=
{
"index.html"
}}
DefaultFilesOptions
=
{
DefaultFileNames
=
{
"index.html"
}}
});
});
var
x
=
new
CultureInfo
(
"en-US"
);
x
.
NumberFormat
.
CurrencySymbol
=
"$"
;
Thread
.
CurrentThread
.
CurrentCulture
=
x
;
var
supportedCultures
=
new
[]
var
supportedCultures
=
new
[]
{
{
...
@@ -108,9 +112,7 @@ namespace Stratis.Guru
...
@@ -108,9 +112,7 @@ namespace Stratis.Guru
{
{
DefaultRequestCulture
=
new
RequestCulture
(
"en-US"
),
DefaultRequestCulture
=
new
RequestCulture
(
"en-US"
),
SupportedCultures
=
supportedCultures
,
SupportedCultures
=
supportedCultures
,
SupportedUICultures
=
supportedCultures
,
SupportedUICultures
=
supportedCultures
FallBackToParentCultures
=
true
,
FallBackToParentUICultures
=
true
});
});
app
.
UseSignalR
(
routes
=>
app
.
UseSignalR
(
routes
=>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment