处理Option请求

This commit is contained in:
Peng-YM 2020-08-31 14:02:56 +08:00
parent a4f096b471
commit 2a04476bca
2 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@
</component>
<component name="ChangeListManager">
<list default="true" id="8b97a098-48b2-4e64-a9ef-522fe2d30b52" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/sub-store.js" beforeDir="false" afterPath="$PROJECT_DIR$/sub-store.js" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
@ -80,7 +81,7 @@
<workItem from="1598778633049" duration="8638000" />
<workItem from="1598795202964" duration="3825000" />
<workItem from="1598806004385" duration="1065000" />
<workItem from="1598846615232" duration="4861000" />
<workItem from="1598846615232" duration="5563000" />
</task>
<servers />
</component>

View File

@ -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.")
});