forked from mattronix/escpos-go-labels
De-hardcode IPs
This allows the machine to survive IP changes, and help development.
This commit is contained in:
parent
45a0274f5c
commit
61fa92d2f4
1 changed files with 3 additions and 3 deletions
|
@ -56,7 +56,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Create DNH Label</h1>
|
<h1>Create DNH Label</h1>
|
||||||
<form id="labelForm" action="http://10.209.10.3:8080/create_dnh_label" method="POST">
|
<form id="labelForm" action="/create_dnh_label" method="POST">
|
||||||
<label for="name">Name:</label>
|
<label for="name">Name:</label>
|
||||||
<input type="text" id="name" name="name" required>
|
<input type="text" id="name" name="name" required>
|
||||||
<br><br>
|
<br><br>
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<h1>Create Generic Label</h1>
|
<h1>Create Generic Label</h1>
|
||||||
<form id="genericLabelForm" action="http://10.209.10.3:8080/create_generic_label" method="POST">
|
<form id="genericLabelForm" action="/create_generic_label" method="POST">
|
||||||
<label for="text">Text:</label>
|
<label for="text">Text:</label>
|
||||||
<input type="text" id="text" name="text" required>
|
<input type="text" id="text" name="text" required>
|
||||||
<br><br>
|
<br><br>
|
||||||
|
@ -117,4 +117,4 @@
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue