Skip to content

Commit

Permalink
feat-spaces (#582)
Browse files Browse the repository at this point in the history
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: ben <benjamin.shafii@gmail.com>
Co-authored-by: ben <ben@prologe.io>
Co-authored-by: BlankParticle <blankparticle@gmail.com>
  • Loading branch information
5 people authored Aug 21, 2024
1 parent 84c76af commit ba937e0
Show file tree
Hide file tree
Showing 132 changed files with 18,059 additions and 37,338 deletions.
5 changes: 4 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ module.exports = {
{
files: ['./apps/web/**/*'],
extends: ['next/core-web-vitals'],
rules: { 'react/no-children-prop': ['warn', { allowFunctions: true }] }
rules: {
'react/no-children-prop': ['warn', { allowFunctions: true }],
'@next/next/no-img-element': 'off'
}
}
]
};
6 changes: 6 additions & 0 deletions apps/mail-bridge/postal-routes/inbound.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ import type { Ctx } from '../ctx';

export const inboundApi = createHonoApp<Ctx>();

// Add logging middleware
inboundApi.use('*', async (c, next) => {
console.info(`Incoming request: ${c.req.method} ${c.req.url}`);
await next();
});

inboundApi.post(
'/mail/inbound/:orgId/:mailserverId',
zValidator('json', postalMessageSchema),
Expand Down
Loading

0 comments on commit ba937e0

Please sign in to comment.