url not hardcoded
This commit is contained in:
1 parent
c19fac2dc5
commit
e7a6dc5cd8
3 files changed
+15
-5
No files matched your search
+7
-1
@@ -7,4 +7,10 @@
|
||||
<!-- Create a div where the graphs will take place -->
|
||||
<div id="graphs"></div>
|
||||
|
||||
<script src="http://127.0.0.1/app.js"></script>
|
||||
<!-- <script src="http://127.0.0.1/app.js"></script> -->
|
||||
<script>
|
||||
let currenturl = (window.location);
|
||||
var s = document.createElement( 'script' );
|
||||
s.setAttribute( 'src', `${currenturl}/app.js` );
|
||||
document.body.appendChild( s );
|
||||
</script>
|
||||
Reference in new issue
Block a user