mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2026-04-01 01:33:18 +08:00
处理Option请求
This commit is contained in:
@@ -50,7 +50,7 @@ $app.route("/api/collection")
|
||||
.post(newCollection)
|
||||
.delete(deleteAllCollections);
|
||||
|
||||
$app.get("/", async (req, res) => {
|
||||
$app.all("/", async (req, res) => {
|
||||
res.send("Hello from Sub-Store! Made with ❤️ by Peng-YM.")
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user