change dev index.php
This commit is contained in:
@@ -29,7 +29,9 @@ if (!empty($_GET['entryPoint'])) {
|
||||
exit;
|
||||
}
|
||||
|
||||
$runScript = "app.start();";
|
||||
$html = file_get_contents("frontend/main.html");
|
||||
$html = str_replace('{{runScript}}', $runScript , $html);
|
||||
echo $html;
|
||||
exit;
|
||||
|
||||
|
||||
+1
-1
@@ -77,7 +77,7 @@
|
||||
useCache: false,
|
||||
url: '../api/v1',
|
||||
}, function (app) {
|
||||
app.start();
|
||||
{{runScript}}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user