Update AppName
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
<button mat-icon-button (click)="snav.toggle()">
|
<button mat-icon-button (click)="snav.toggle()">
|
||||||
<mat-icon>menu</mat-icon>
|
<mat-icon>menu</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
<h1 class="topbar-app-name">DiunaBI {{environment.appEnvironment}}</h1>
|
<h1 class="topbar-app-name">{{environment.appName}}</h1>
|
||||||
<span class="fill-to-right"></span>
|
<span class="fill-to-right"></span>
|
||||||
<span class="topbar-user-name" *ngIf="auth$.user">
|
<span class="topbar-user-name" *ngIf="auth$.user">
|
||||||
<img *ngIf="auth$.user.avatar" src="{{auth$.user.avatar}}" class="avatar">
|
<img *ngIf="auth$.user.avatar" src="{{auth$.user.avatar}}" class="avatar">
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
export const environment = {
|
export const environment = {
|
||||||
appEnvironment: "#{app-environment}#",
|
appEnvironment: "#{app-environment}#",
|
||||||
|
appName: "#{app-name}#",
|
||||||
production: true,
|
production: true,
|
||||||
api: {
|
api: {
|
||||||
url: "#{api-url}#"
|
url: "#{api-url}#"
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
export const environment = {
|
export const environment = {
|
||||||
appEnvironment: "local",
|
appEnvironment: "local",
|
||||||
|
appName: "LOCAL_DiunaBI",
|
||||||
production: false,
|
production: false,
|
||||||
api: {
|
api: {
|
||||||
url: "http://localhost:5400/api"
|
url: "http://localhost:5400/api"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ namespace WebAPI.Controllers
|
|||||||
{
|
{
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[Authorize]
|
|
||||||
public class LayersController : Controller
|
public class LayersController : Controller
|
||||||
{
|
{
|
||||||
private readonly AppDbContext db;
|
private readonly AppDbContext db;
|
||||||
@@ -161,6 +161,15 @@ namespace WebAPI.Controllers
|
|||||||
AddLayer(layer, Guid.Parse("F392209E-123E-4651-A5A4-0B1D6CF9FF9D"));
|
AddLayer(layer, Guid.Parse("F392209E-123E-4651-A5A4-0B1D6CF9FF9D"));
|
||||||
|
|
||||||
return Ok("OK");
|
return Ok("OK");
|
||||||
|
}
|
||||||
|
|
||||||
|
[HttpGet]
|
||||||
|
[Route("checkDates")]
|
||||||
|
public IActionResult checkDates()
|
||||||
|
{
|
||||||
|
var warsawTZ = TimeZoneInfo.FindSystemTimeZoneById("Singapore Standard Time");
|
||||||
|
DateTime date = DateTime.UtcNow;
|
||||||
|
return Ok(date);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"Kestrel": {
|
"Kestrel": {
|
||||||
"Endpoints": {
|
"Endpoints": {
|
||||||
"Http": {
|
"Http": {
|
||||||
"Url": "#{api-local-url}#"
|
"Url": "http://#{api-local-url}#"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user