Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit f00941c

Browse files
committed
fix: fxing api route
1 parent f52b2f3 commit f00941c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

server.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ const express = require("express");
55
const app = express();
66

77
app.use("/earn-app/api",function (req, res) {
8-
res.send('hello world')
8+
res.send("hello earn-app API");
9+
});
10+
11+
app.use("/earn/api", function (req, res) {
12+
res.send("hello earn API");
913
});
1014

1115
app.use(

0 commit comments

Comments
 (0)