De-hardcode IPs

This allows the machine to survive IP changes, and help development.
This commit is contained in:
Geoffrey “Frogeye” Preud'homme 2024-04-10 19:42:12 +02:00
parent 45a0274f5c
commit 61fa92d2f4
Signed by: frogeye
GPG key ID: C72403E7F82E6AD8

View file

@ -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>