🔨 Finish public deployment
This commit is contained in:
parent
8cb0b2953b
commit
6809a0a747
|
@ -4,4 +4,4 @@ services:
|
|||
openscad:
|
||||
build: .
|
||||
ports:
|
||||
- "5000:5000"
|
||||
- "127.0.0.1:5000:5000"
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue