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
79984cd0
Commit
79984cd0
authored
6 years ago
by
Clint Mourlevat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attempt to fix SignalR issue
parent
8dde38c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Startup.cs
Startup.cs
+2
-2
Index.cshtml
Views/Home/Index.cshtml
+1
-1
No files found.
Startup.cs
View file @
79984cd0
...
...
@@ -63,10 +63,10 @@ namespace Stratis.Guru
else
{
app
.
UseExceptionHandler
(
"/Home/Error"
);
app
.
UseHsts
();
//
app.UseHsts();
}
app
.
UseHttpsRedirection
();
//
app.UseHttpsRedirection();
app
.
UseStaticFiles
();
app
.
UseCookiePolicy
();
...
...
This diff is collapsed.
Click to expand it.
Views/Home/Index.cshtml
View file @
79984cd0
...
...
@@ -36,7 +36,7 @@
NProgress.done();
});
}
var signalr = new signalR.HubConnectionBuilder().withUrl("/update").build();
var signalr = new signalR.HubConnectionBuilder().withUrl("/update"
, { transport: signalR.HttpTransportType.LongPolling }
).build();
signalr.on("UpdateTicker", function (message) {
UpdateTicker();
});
...
...
This diff is collapsed.
Click to expand it.
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