Skip to content

Commit

Permalink
try updating production-exports.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ezra-sg committed Aug 11, 2023
1 parent 54e8e4d commit 38d7e90
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src-ssr/production-export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,4 @@

import { ssrProductionExport } from 'quasar/wrappers';

export default ssrProductionExport(async ({ app, port, isReady }) => {
await isReady();
return app.listen(port, () => {
console.log('Server listening at port ' + port);
});
});
export default ssrProductionExport(async ({ ssrHandler }: { ssrHandler: (() => void) }) => ({ onRequest: ssrHandler }));

0 comments on commit 38d7e90

Please sign in to comment.