From 7fe4e6aef2163f45082b5806ccb07f5e555b7b74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szak=C3=A1ts=20Alp=C3=A1r=20Zsolt?= Date: Tue, 12 Aug 2025 21:36:18 +0200 Subject: [PATCH] Change domain --- .gitea/workflows/docker-build.yml | 2 +- Source/ProofOfConcept/Program.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index 590921e..7d8f87b 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -44,7 +44,7 @@ jobs: --name automatic-parking \ --network traefik \ --label 'traefik.enable=true' \ - --label 'traefik.http.routers.automatic-parking.rule=Host(`automatic-parking.app`)' \ + --label 'traefik.http.routers.automatic-parking.rule=Host(`automatic-parking.app`) || Host(`tesla-connector.automatic-parking.app`)' \ --label 'traefik.http.routers.automatic-parking.entrypoints=websecure' \ --label 'traefik.http.routers.automatic-parking.tls.certresolver=le' \ --label 'traefik.http.services.automatic-parking.loadbalancer.server.port=8080' \ diff --git a/Source/ProofOfConcept/Program.cs b/Source/ProofOfConcept/Program.cs index ef66a0e..d3ac4f1 100644 --- a/Source/ProofOfConcept/Program.cs +++ b/Source/ProofOfConcept/Program.cs @@ -32,7 +32,7 @@ WebApplication app = builder.Build(); if (app.Environment.IsDevelopment()) { app.MapOpenApi(); - app.MapGet("/GetPartnerAuthenticationToken", ([FromServices] TeslaAuthenticatorService service) => service.AcquirePartnerAuthenticationTokenAsync()); + app.MapGet("/GetPartnerAuthenticationToken", ([FromServices] TeslaAuthenticatorService service) => service.GetPartnerAuthenticationTokenAsync()); app.MapGet("/CheckRegisteredApplication", ([FromServices] TeslaAuthenticatorService service) => service.CheckApplicationRegistrationAsync()); app.MapGet("/RegisterApplication", ([FromServices] TeslaAuthenticatorService service) => service.RegisterApplicationAsync()); }