Commit 0d97c01e authored by nextime's avatar nextime

fix minimixed manifes_url

parent c1ceeda0
......@@ -116,7 +116,11 @@ window.matchMedia=window.matchMedia||function(a){"use strict";var c,d=a.document
var port="";
if(document.location.port)
var port=":"+document.location.port;
var manifest_url = document.location.protocol+"//"+document.location.host+port+"<?=str_replace("/js/domotika.js","",$BASEGUIPATH)?>/manifest.webapp";
<?
$manif=str_replace("/js/domotika.js","",$BASEGUIPATH);
$manif=str_replace("/js/combined.min.js", "", $manif);
?>
var manifest_url = document.location.protocol+"//"+document.location.host+port+"<?=$manif?>/manifest.webapp";
function installFFApp(ev) {
ev.preventDefault();
......
......@@ -43,7 +43,11 @@
var port="";
if(document.location.port)
var port=":"+document.location.port;
var manifest_url = document.location.protocol+"//"+document.location.host+port+"<?=str_replace("/js/domotika.js","",$BASEGUIPATH)?>/manifest.webapp";
<?
$manif=str_replace("/js/domotika.js","",$BASEGUIPATH);
$manif=str_replace("/js/combined.min.js", "", $manif);
?>
var manifest_url = document.location.protocol+"//"+document.location.host+port+"<?=$manif?>/manifest.webapp";
function installFFApp(ev) {
ev.preventDefault();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment