Compare commits

..

No commits in common. "73127d9950dbb0eba524b74eb1b520a526b1c86d" and "3eac9d64cb4ad5f61a1142620e26832f13f1eb53" have entirely different histories.

2 changed files with 3 additions and 12 deletions

View File

@ -5,15 +5,4 @@ build the dockerfile with: docker build -t slaeforms .
run the container on port 8000 with: docker run -d -p 8000:8000 slaeforms
export the container: docker save -o slaeforms.tar slaforms:latest
Pushing code from desktop to leafblade:
See remotes: git remote -v
git push leafblade working //push working branch
then create a pull request on leafblade and merge everything
export the container: docker save -o slaeforms.tar slaforms:latest

View File

@ -46,12 +46,14 @@ document.getElementById("question_form").addEventListener("submit", function (ev
// code to handle proper redirection after submit
console.log('Response:', response);
// check if response is a redirect
/*
if (response.redirected) {
console.log("Redirecting to:", response.url);
window.location.href = response.url; // Redirect to the new page
} else {
console.log("No redirect response received.");
}
*/
})
.catch(error => {
console.error('Error:', error);