diff --git a/evilportal/package-lock.json b/evilportal/package-lock.json index 0b65542..ffbd836 100644 --- a/evilportal/package-lock.json +++ b/evilportal/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "evilportal", "version": "0.0.0", "dependencies": { "@angular/animations": "~9.1.11", diff --git a/evilportal/projects/evilportal/src/lib/components/helpers/preview-dialog/preview-dialog.component.html b/evilportal/projects/evilportal/src/lib/components/helpers/preview-dialog/preview-dialog.component.html index 452e1ba..a231f79 100644 --- a/evilportal/projects/evilportal/src/lib/components/helpers/preview-dialog/preview-dialog.component.html +++ b/evilportal/projects/evilportal/src/lib/components/helpers/preview-dialog/preview-dialog.component.html @@ -12,7 +12,6 @@
- +
- diff --git a/evilportal/projects/evilportal/src/lib/components/helpers/preview-dialog/preview-dialog.component.ts b/evilportal/projects/evilportal/src/lib/components/helpers/preview-dialog/preview-dialog.component.ts index fe31bf4..a1c87d9 100644 --- a/evilportal/projects/evilportal/src/lib/components/helpers/preview-dialog/preview-dialog.component.ts +++ b/evilportal/projects/evilportal/src/lib/components/helpers/preview-dialog/preview-dialog.component.ts @@ -16,6 +16,8 @@ export class PreviewDialogComponent implements OnInit { } ngOnInit(): void { + let hostnamediv = document.getElementById('preview'); + hostnamediv.setAttribute('src', 'http://'+window.location.hostname); } } diff --git a/evilportal/projects/evilportal/src/module.json b/evilportal/projects/evilportal/src/module.json index 0a282b2..d11ed69 100644 --- a/evilportal/projects/evilportal/src/module.json +++ b/evilportal/projects/evilportal/src/module.json @@ -3,7 +3,7 @@ "title": "Evil Portal", "description": "An evil captive portal for the WiFi Pineapple.", "author": "newbi3", - "version": "1.5.1", + "version": "1.5.2", "firmware_required": "1.0.0", "devices": ["wifipineapplemk7","wifipineappleent1"] }