diff --git a/examples/file-upload/backend/src/index.ts b/examples/file-upload/backend/src/index.ts index 90af195..b209834 100644 --- a/examples/file-upload/backend/src/index.ts +++ b/examples/file-upload/backend/src/index.ts @@ -6,7 +6,8 @@ import { serviceProto } from "./shared/protocols/serviceProto"; // Create the Server const server = new HttpServer(serviceProto, { port: 3000, - cors: '*' + cors: '*', + json: true }); // Flow: Serve static files