Различия
Здесь показаны различия между двумя версиями данной страницы.
| Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
|
doc:jroboplc:changes [2021/10/03 09:54] denis |
doc:jroboplc:changes [2024/01/16 09:23] (текущий) denis |
||
|---|---|---|---|
| Строка 5: | Строка 5: | ||
| <script> | <script> | ||
| - | const url = 'http://prom-auto.ru/download/jroboplc/changes'; | + | const url = 'https://prom-auto.ru/download/jroboplc/changes'; |
| + | |||
| + | | ||
| fetch(url) | fetch(url) | ||
| - | .then((response)=>{ | + | .then(response => response.text()) |
| - | response.text().then((text)=>{ | + | .then(text => { |
| document.getElementById("content").innerHTML = text; | document.getElementById("content").innerHTML = text; | ||
| - | }) | ||
| }) | }) | ||
| + | | ||
| </script> | </script> | ||