DmitrMakeev commited on
Commit
73baded
·
verified ·
1 Parent(s): 6aafcc1

Update se_mes_im2.html

Browse files
Files changed (1) hide show
  1. se_mes_im2.html +2 -5
se_mes_im2.html CHANGED
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html>
2
  <html lang="en">
3
  <head>
4
  <meta charset="UTF-8">
@@ -12,7 +12,6 @@
12
  <button type="submit">Upload</button>
13
  </form>
14
  <div id="message"></div>
15
- <div id="serverUrl"></div> <!-- Добавлено для вывода URL сервера -->
16
  <h1>Latest Image</h1>
17
  <img id="cameraImage" src="/image" alt="Image" style="width:100%;">
18
  <script>
@@ -21,8 +20,6 @@
21
  fetch('/own_url')
22
  .then(response => response.text())
23
  .then(ownUrl => {
24
- // Выводим URL сервера на страницу
25
- document.getElementById('serverUrl').innerText = 'Server URL: ' + ownUrl;
26
  // Обрабатываем отправку формы
27
  document.getElementById('uploadForm').addEventListener('submit', function(event) {
28
  event.preventDefault();
@@ -51,4 +48,4 @@
51
  });
52
  </script>
53
  </body>
54
- </html>
 
1
+ <!DOCTYPE html>
2
  <html lang="en">
3
  <head>
4
  <meta charset="UTF-8">
 
12
  <button type="submit">Upload</button>
13
  </form>
14
  <div id="message"></div>
 
15
  <h1>Latest Image</h1>
16
  <img id="cameraImage" src="/image" alt="Image" style="width:100%;">
17
  <script>
 
20
  fetch('/own_url')
21
  .then(response => response.text())
22
  .then(ownUrl => {
 
 
23
  // Обрабатываем отправку формы
24
  document.getElementById('uploadForm').addEventListener('submit', function(event) {
25
  event.preventDefault();
 
48
  });
49
  </script>
50
  </body>
51
+ </html>