commit
76469b8f0c
|
@ -5,6 +5,7 @@
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
|
"name": "evilportal",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "~9.1.11",
|
"@angular/animations": "~9.1.11",
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<div class="previewContainer">
|
<div class="previewContainer">
|
||||||
<iframe class="previewWindow" src="http://172.16.42.1"></iframe>
|
<iframe id="preview" class="previewWindow"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -16,6 +16,8 @@ export class PreviewDialogComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
|
let hostnamediv = document.getElementById('preview');
|
||||||
|
hostnamediv.setAttribute('src', 'http://'+window.location.hostname);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"title": "Evil Portal",
|
"title": "Evil Portal",
|
||||||
"description": "An evil captive portal for the WiFi Pineapple.",
|
"description": "An evil captive portal for the WiFi Pineapple.",
|
||||||
"author": "newbi3",
|
"author": "newbi3",
|
||||||
"version": "1.5.1",
|
"version": "1.5.2",
|
||||||
"firmware_required": "1.0.0",
|
"firmware_required": "1.0.0",
|
||||||
"devices": ["wifipineapplemk7","wifipineappleent1"]
|
"devices": ["wifipineapplemk7","wifipineappleent1"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue