use ssl url now

This commit is contained in:
Greg Gauthier 2024-06-25 19:28:22 +01:00
parent 375b664373
commit 0e97185ce8

View File

@ -5,7 +5,7 @@ document.getElementById('characterForm').addEventListener('submit', function(eve
var charType = document.getElementById('charType').value; var charType = document.getElementById('charType').value;
// Makes a POST request to endpoint with selected charType as parameter // Makes a POST request to endpoint with selected charType as parameter
fetch('http://gammaworld.gmgauthier.com/character/generate', { fetch('https://gammaworld.gmgauthier.com/character/generate', {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json'