Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does this support a loopback4 app? #31

Open
srikanthadibhatla opened this issue Nov 29, 2020 · 2 comments
Open

does this support a loopback4 app? #31

srikanthadibhatla opened this issue Nov 29, 2020 · 2 comments

Comments

@srikanthadibhatla
Copy link

srikanthadibhatla commented Nov 29, 2020

loopbak 4 is based on express , is there a way we can use this plugin to proxy the azure function requests to the loopback app?

we cant really access
const app = require('express')
to change it

is there a way around this? can i do it on the serverless handler somehow, considering i get access to the loopback app instance in the handler

@mikestaub
Copy link
Owner

I don't think so as this needs to replace the original express instance and I don't think you can do that after it is initialized by loopback.

@iliasbhal
Copy link
Collaborator

iliasbhal commented Dec 2, 2020

@srikanthadibhatla Do you have a way to export the express app reference?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants