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",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/ang-university-httpclient",
"index": "src/index.html",
"browser": "src/main.ts",
@@ -3,7 +3,7 @@
<h2>Tasmota Steckdosen Steuerung</h2>
<div class="socket-control">
<h3>Steckdose 1</h3>
<h3>Aktiv Kohle Lüfter</h3>
<button
(click)="toggleSocket1()"
[class.on]="socket1Status"
@@ -14,7 +14,7 @@
</div>
<div class="socket-control">
<h3>Steckdose 2</h3>
<h3>Bambu P1P</h3>
<button
(click)="toggleSocket2()"
[class.on]="socket2Status"
+1 -1
View File
@@ -1,5 +1,5 @@
// environments/environment.prod.ts
export const environment = {
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
export const environment = {
production: false,
apiUrl: 'http://localhost:4200' // Entwicklungs-URL
//apiUrl: 'http://localhost:4200' // Entwicklungs-URL
apiUrl: 'http://10.0.0.104'
};