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