This commit is contained in:
@@ -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' \
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user