-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
26 lines (26 loc) · 834 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<h1 id="result"></h1>
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script>
$( document ).ready(function() {
$.ajax({
method: 'GET',
url: 'https://www.brizy.cloud/projects/874444/sync/publish-methods/deploy-url/update?deploy_url=' + window.location.href,
xhrFields: {
withCredentials: true
}
}).done(function (data) {
$("#result").text("Successfully connected to Brizy Cloud");
}).fail(function (error) {
$("#result").text("Failed to connect to Brizy Cloud");
});
});
</script>
</body>
</html>