🔨 Finish public deployment

This commit is contained in:
Rodolphe Houdas 2021-08-31 23:26:43 +01:00
parent 8cb0b2953b
commit 6809a0a747
2 changed files with 2 additions and 2 deletions

View file

@ -4,4 +4,4 @@ services:
openscad: openscad:
build: . build: .
ports: ports:
- "5000:5000" - "127.0.0.1:5000:5000"

View file

@ -116,7 +116,7 @@
const send_form = document.getElementById("files-form"); const send_form = document.getElementById("files-form");
send_form.addEventListener("submit", (event) => { send_form.addEventListener("submit", (event) => {
const url = "http://127.0.0.1:5000/"; const url = "https://cad.interstellai.re/upload";
fetch(url, { fetch(url, {
method: "POST", method: "POST",
body: new FormData(event.target) body: new FormData(event.target)