Skip to content

Commit

Permalink
replace relative include of gethost.js with absolute one. This is nee…
Browse files Browse the repository at this point in the history
…ded as that file gets incuded on dynamically generated content which can be on different path levels (#1610)

Co-authored-by: CaCO3 <caco@ruinelli.ch>
  • Loading branch information
caco3 and CaCO3 authored Dec 17, 2022
1 parent 6083fe6 commit 9313d6e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sd-card/html/upload_script.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ <h2>ESP32 File Server</h2>
</td></tr>
</table>

<script type="text/javascript" src="./html/gethost.js">
// Achtung dieses Script wird mit /fileserver aufgerufen, daher muss hier /html/gethost.js verwendet werden!
<script type="text/javascript" src="/fileserver/html/gethost.js">
</script>
<script language="JavaScript">
function setpath() {
Expand Down

0 comments on commit 9313d6e

Please sign in to comment.