von daheim

This commit is contained in:
2025-03-20 12:37:08 +01:00
parent bf4043004b
commit a0fcb09424
4 changed files with 7 additions and 4 deletions
+2
View File
@@ -21,8 +21,10 @@
"prefix": "app", "prefix": "app",
"architect": { "architect": {
"build": { "build": {
"builder": "@angular-devkit/build-angular:application", "builder": "@angular-devkit/build-angular:application",
"options": { "options": {
"outputPath": "dist/ang-university-httpclient", "outputPath": "dist/ang-university-httpclient",
"index": "src/index.html", "index": "src/index.html",
"browser": "src/main.ts", "browser": "src/main.ts",
@@ -3,7 +3,7 @@
<h2>Tasmota Steckdosen Steuerung</h2> <h2>Tasmota Steckdosen Steuerung</h2>
<div class="socket-control"> <div class="socket-control">
<h3>Steckdose 1</h3> <h3>Aktiv Kohle Lüfter</h3>
<button <button
(click)="toggleSocket1()" (click)="toggleSocket1()"
[class.on]="socket1Status" [class.on]="socket1Status"
@@ -14,7 +14,7 @@
</div> </div>
<div class="socket-control"> <div class="socket-control">
<h3>Steckdose 2</h3> <h3>Bambu P1P</h3>
<button <button
(click)="toggleSocket2()" (click)="toggleSocket2()"
[class.on]="socket2Status" [class.on]="socket2Status"
+1 -1
View File
@@ -1,5 +1,5 @@
// environments/environment.prod.ts // environments/environment.prod.ts
export const environment = { export const environment = {
production: true, production: true,
apiUrl: '' // Produktions-URL (leer wenn gleicher Server) apiUrl: 'http://10.0.0.104'// Produktions-URL (leer wenn gleicher Server)
}; };
+2 -1
View File
@@ -1,6 +1,7 @@
// environments/environment.ts // environments/environment.ts
export const environment = { export const environment = {
production: false, production: false,
apiUrl: 'http://localhost:4200' // Entwicklungs-URL //apiUrl: 'http://localhost:4200' // Entwicklungs-URL
apiUrl: 'http://10.0.0.104'
}; };