upload allow json
This commit is contained in:
parent
3ae8b81da4
commit
ad022ba3f8
@ -6,7 +6,8 @@ import { serviceProto } from "./shared/protocols/serviceProto";
|
|||||||
// Create the Server
|
// Create the Server
|
||||||
const server = new HttpServer(serviceProto, {
|
const server = new HttpServer(serviceProto, {
|
||||||
port: 3000,
|
port: 3000,
|
||||||
cors: '*'
|
cors: '*',
|
||||||
|
json: true
|
||||||
});
|
});
|
||||||
|
|
||||||
// Flow: Serve static files
|
// Flow: Serve static files
|
||||||
|
Loading…
Reference in New Issue
Block a user