go-duck-cli 1.4.15 → 1.4.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "go-duck-cli",
3
- "version": "1.4.15",
3
+ "version": "1.4.16",
4
4
  "description": "The Ultimate Evolutionary Go Microservice Scaffolder.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -1537,7 +1537,7 @@ func SetupRouter(appConfig *config.Config) *gin.Engine {
1537
1537
  }
1538
1538
 
1539
1539
  document.getElementById('live-logs-btn').onclick = () => {
1540
- if (!keycloak.authenticated && {{appConfig.GoDuck.Security.OIDC.Enabled}}) {
1540
+ if (!keycloak.authenticated && {{#if appConfig.GoDuck.Security.OIDC.Enabled}}true{{else}}false{{/if}}) {
1541
1541
  alert('Please login to view Server Logs');
1542
1542
  return;
1543
1543
  }
@@ -1564,7 +1564,7 @@ func SetupRouter(appConfig *config.Config) *gin.Engine {
1564
1564
  };
1565
1565
 
1566
1566
  document.getElementById('compact-widget-btn').onclick = () => {
1567
- if (!keycloak.authenticated && {{appConfig.GoDuck.Security.OIDC.Enabled}}) {
1567
+ if (!keycloak.authenticated && {{#if appConfig.GoDuck.Security.OIDC.Enabled}}true{{else}}false{{/if}}) {
1568
1568
  alert('Please login to view system telemetry.');
1569
1569
  return;
1570
1570
  }