Skip to content

Commit

Permalink
urlの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
weweweok committed Nov 29, 2023
1 parent 87d4c13 commit fefb641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion islands/ImageForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function ImageForm() {
formData.append("files", image);
let url = "http://127.0.0.1:8001/files/";
if (!window.location.host.includes("localhost")) {
url = "https://create-ascii-art.onrender.com";
url = "https://create-ascii-art.onrender.com/files/";
}
const response = await fetch(url, {
method: "POST",
Expand Down

0 comments on commit fefb641

Please sign in to comment.