🔨 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:
build: .
ports:
- "5000:5000"
- "127.0.0.1:5000:5000"

View File

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