From 0d20d04ae004a9b3aaf39e66c15d88aae2786adf Mon Sep 17 00:00:00 2001 From: Fergal Moran Date: Tue, 27 Mar 2018 19:10:47 +0100 Subject: [PATCH] Added back debug info --- .../app/components/debug/debug.component.html | 10 +++++----- .../app/components/debug/debug.component.ts | 1 + server/Controllers/PingController.cs | 5 +++-- server/pushsubscription.db | Bin 12288 -> 12288 bytes 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/client/src/app/components/debug/debug.component.html b/client/src/app/components/debug/debug.component.html index e84519e..dfbac2b 100755 --- a/client/src/app/components/debug/debug.component.html +++ b/client/src/app/components/debug/debug.component.html @@ -24,14 +24,14 @@
Debug Info
-
-
-                    
-
API Host: {{apiHost}}
SignalR Host: {{signalrHost}} -
Ping: {{pingPong}}
+
Ping: {{pingPong}} +
+
+

+                        
diff --git a/client/src/app/components/debug/debug.component.ts b/client/src/app/components/debug/debug.component.ts index 58c58c0..7f9efef 100755 --- a/client/src/app/components/debug/debug.component.ts +++ b/client/src/app/components/debug/debug.component.ts @@ -30,6 +30,7 @@ export class DebugComponent implements OnInit { ) {} ngOnInit() { this._debugService.ping().subscribe(r => (this.pingPong = r)); + this.debugInfo$ = this._debugService.getDebugInfo(); } subscribeToServerPush() { diff --git a/server/Controllers/PingController.cs b/server/Controllers/PingController.cs index 751d835..1e108c7 100644 --- a/server/Controllers/PingController.cs +++ b/server/Controllers/PingController.cs @@ -1,10 +1,11 @@ using Microsoft.AspNetCore.Mvc; -namespace server.Controllers { +namespace PodNoms.Api.Controllers { + [Route("[controller]")] public class PingController : Controller { [HttpGet] public string Get() { return "Pong"; } - } + } } \ No newline at end of file diff --git a/server/pushsubscription.db b/server/pushsubscription.db index 1e3d62d5b3393e7bfca715b788059369a357dec5..ce54616cdf45bf8c6a28194fcc7d870ff35257a5 100644 GIT binary patch delta 569 zcmZojXh@hK&B!uQ##xYsK~H7_FaHk)Ccb|ReE<0OZWdJNbg2w1UvfpWSVAsI^|>-Wtax0l$%#L`XrZB7KLS*Wakip>QI@62 bmXW6J#^-D`0s+blao=Qr*%^})_2&Zs-5Ixx delta 87 zcmZojXh@hK&B#1a##xY=L6296m;VO?6W>1uzJL6CHx~BtZT`#0&d9;U>&C#hnAdG% qp%w3DH`#qm987$N8TbzKCxO&VY|vtBlx1nMWt{9UJ7aR9{(Jy5{TZ|X