mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2026-04-07 18:13:18 +08:00
feat: Provide virtual disk operation API
This commit is contained in:
1
backend/src/vendor/express.js
vendored
1
backend/src/vendor/express.js
vendored
@@ -54,7 +54,6 @@ export default function express({ substore: $, port, host }) {
|
||||
// dispatch url to route
|
||||
const dispatch = (request, start = 0) => {
|
||||
let { method, url, headers, body } = request;
|
||||
console.log(url, method, headers, body);
|
||||
headers = formatHeaders(headers);
|
||||
if (/json/i.test(headers['content-type'])) {
|
||||
body = JSON.parse(body);
|
||||
|
||||
Reference in New Issue
Block a user