first-api default json: true

This commit is contained in:
k8w
2021-12-25 18:30:22 +08:00
parent ab7efb65e6
commit 250e5a0c35
2 changed files with 3 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ import { serviceProto } from "./shared/protocols/serviceProto";
// Create the Server
const server = new HttpServer(serviceProto, {
port: 3000,
cors: '*'
json: true
});
// Entry function