Update AppName
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<button mat-icon-button (click)="snav.toggle()">
|
||||
<mat-icon>menu</mat-icon>
|
||||
</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="topbar-user-name" *ngIf="auth$.user">
|
||||
<img *ngIf="auth$.user.avatar" src="{{auth$.user.avatar}}" class="avatar">
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
export const environment = {
|
||||
appEnvironment: "#{app-environment}#",
|
||||
appName: "#{app-name}#",
|
||||
production: true,
|
||||
api: {
|
||||
url: "#{api-url}#"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
export const environment = {
|
||||
appEnvironment: "local",
|
||||
appName: "LOCAL_DiunaBI",
|
||||
production: false,
|
||||
api: {
|
||||
url: "http://localhost:5400/api"
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace WebAPI.Controllers
|
||||
{
|
||||
[ApiController]
|
||||
[Route("api/[controller]")]
|
||||
[Authorize]
|
||||
|
||||
public class LayersController : Controller
|
||||
{
|
||||
private readonly AppDbContext db;
|
||||
@@ -161,6 +161,15 @@ namespace WebAPI.Controllers
|
||||
AddLayer(layer, Guid.Parse("F392209E-123E-4651-A5A4-0B1D6CF9FF9D"));
|
||||
|
||||
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": {
|
||||
"Endpoints": {
|
||||
"Http": {
|
||||
"Url": "#{api-local-url}#"
|
||||
"Url": "http://#{api-local-url}#"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user