mirror of
https://github.com/containrrr/watchtower.git
synced 2026-03-07 21:22:35 +01:00
Make api URL dynamic in web app
This commit is contained in:
parent
ad12b483ff
commit
57b4862a5b
4 changed files with 76 additions and 26 deletions
|
|
@ -16,7 +16,7 @@
|
|||
<script type="text/javascript" src="lib/react-dom@18.2.0/react-dom.production.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body data-apipath="{{.ApiUrl}}">
|
||||
<div id="root"></div>
|
||||
<script type="text/javascript" src="api.js?v=1"></script>
|
||||
<script type="text/babel" src="app.jsx?v=1"></script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue