From 948209cc0fb2386c2ae02ca691573edd3e197d0c Mon Sep 17 00:00:00 2001 From: GirlsLikeMyY Date: Sat, 8 Jun 2024 13:26:15 +0900 Subject: [PATCH] =?UTF-8?q?index=EC=97=90=20get=EC=9A=94=EC=B2=AD=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- my-replicate-app/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/my-replicate-app/index.js b/my-replicate-app/index.js index 96b6090..94dc2b0 100644 --- a/my-replicate-app/index.js +++ b/my-replicate-app/index.js @@ -131,6 +131,9 @@ async function runReplicateModel(url, prompt) { throw error; } } +app.get("/", (req, res) => { + res.send("Hello from the server!"); +}); app.post("/upload-to-ipfs", upload.single("image"), async (req, res) => { if (req.file) {