From 9e9141693c70d0e84b171844925f021db3a648d1 Mon Sep 17 00:00:00 2001 From: Henry Bravo Date: Sat, 22 Jun 2024 15:17:18 +0200 Subject: [PATCH] new demo app az url --- README.md | 2 +- webapp/index.php | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f4916fb..472a711 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ or ### demo -A demo version of this webapp is deployed here: [ssl-checker-webapp.icygrass-78f2682a.westeurope.azurecontainerapps.io](https://ssl-checker-webapp.icygrass-78f2682a.westeurope.azurecontainerapps.io) - *as this az containerapp scales to 0 when idle, it has a cold start of 30 secs to come back up ;-)* +A demo version of this webapp is deployed here: [ssl-checker-webapp.whitemushroom-73af22bc.westeurope.azurecontainerapps.io](https://ssl-checker-webapp.whitemushroom-73af22bc.westeurope.azurecontainerapps.io) - *as this az containerapp scales to 0 when idle, it has a cold start of 30 secs to come back up* ### github copilot This webapp written in php and js is the result of test-driving copilot 'on a sunday afternoon'. The potential of working this way is huge, and the experience is simply awesome! diff --git a/webapp/index.php b/webapp/index.php index 7f02e96..f05c137 100644 --- a/webapp/index.php +++ b/webapp/index.php @@ -36,16 +36,16 @@ function initializeBackgroundSlideshow() { // Components slide_links : 'false', // Individual links for each slide (Options: false, 'num', 'name', 'blank') slides : [ // Slideshow Images - {image : './img/195c8e0b3fcb2101b6ca0f02e9ba44b0.jpg', title : '', thumb : '', url : ''}, - {image : './img/63923308b6ff377f22eb9b1e95976ed2.jpg', title : '', thumb : '', url : ''}, - {image : './img/b6df4f7c518db4a2ad469ce192b19f4e.jpg', title : '', thumb : '', url : ''}, - {image : './img/54aaa216ce9197179d8713d76e9d036c.jpg', title : '', thumb : '', url : ''}, - {image : './img/8128ff7ca857daa8fe622a7893454bf0.jpg', title : '', thumb : '', url : ''}, - {image : './img/be456e609897237c04e9e930e9299299.jpg', title : '', thumb : '', url : ''}, - {image : './img/f6d9e897f34ecbec5a516dd5e0360178.jpg', title : '', thumb : '', url : ''}, - {image : './img/62245a04acae62e88c6ece15a42b451b.jpg', title : '', thumb : '', url : ''}, - {image : './img/8138caa05ac45dc6073cd063a72e7abc.jpg', title : '', thumb : '', url : ''}, - {image : './img/c1013e8f23a404a1e537db1183444c74.jpg', title : '', thumb : '', url : ''}, + {image : 'img/195c8e0b3fcb2101b6ca0f02e9ba44b0.jpg', title : '', thumb : '', url : ''}, + {image : 'img/63923308b6ff377f22eb9b1e95976ed2.jpg', title : '', thumb : '', url : ''}, + {image : 'img/b6df4f7c518db4a2ad469ce192b19f4e.jpg', title : '', thumb : '', url : ''}, + {image : 'img/54aaa216ce9197179d8713d76e9d036c.jpg', title : '', thumb : '', url : ''}, + {image : 'img/8128ff7ca857daa8fe622a7893454bf0.jpg', title : '', thumb : '', url : ''}, + {image : 'img/be456e609897237c04e9e930e9299299.jpg', title : '', thumb : '', url : ''}, + {image : 'img/f6d9e897f34ecbec5a516dd5e0360178.jpg', title : '', thumb : '', url : ''}, + {image : 'img/62245a04acae62e88c6ece15a42b451b.jpg', title : '', thumb : '', url : ''}, + {image : 'img/8138caa05ac45dc6073cd063a72e7abc.jpg', title : '', thumb : '', url : ''}, + {image : 'img/c1013e8f23a404a1e537db1183444c74.jpg', title : '', thumb : '', url : ''}, ] }); }); @@ -93,7 +93,7 @@ function initializeBackgroundSlideshow() { // Send an AJAX request to the server $.ajax({ type: "POST", - url: "./ssl_check.php", // Ensure this URL is correct + url: "ssl_check.php", // Ensure this URL is correct data: { domain: domain }, dataType: "json", // Expecting JSON response success: function(response) {