Fernando Dorantes

Results 11 comments of Fernando Dorantes

Nope, but i used route function. ``` router.route('/api/v1') .post((req, res)=>{ }) .get((req, res)=>{ }) ``` ;)

I need a to include both perms in a single middleware. I'm returning a Permission but I can't identify it's action. I returned an object with role, permissions, action and...

> Same here, as we have a mouth full of warnings after updating like exactly the same Same here with a SSR next application. When src/middleware.ts exists breaks building in...

> @fdorantesm how do you keep your page sizes so small? It's a small webapp, it has small components and it's using SSR methods. Do you have an app with...

> I have same issue! That seems that we need to fix it and make PR.

> @svtslv based on the info in console log `NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.` it would make...

Unorthodox solution: ``` req.originalUrl = req.originalUrl.replace('static', '') ``` ``` app.get('/static/*', (req, res, next) => { req.originalUrl = req.originalUrl.replace(process.env.S3_PROXY_PATH, '') return s3Proxy({ bucket: process.env.AWS_S3_BUCKET, accessKeyId: process.env.AWS_S3_ACCESS_KEY_ID, secretAccessKey: process.env.AWS_S3_SECRET_ACCESS_KEY })(req, res, next)...

No veo por qué no, el enforcer solo valida los paths. Si te sirve de algo este es la configuración que usé para un repositorio con NestJS ```js { overrides:...

Hi @rossanmol, did you resolve that?

I'd the same problem. I used the targetUrl to create and remove subscription.