qwik icon indicating copy to clipboard operation
qwik copied to clipboard

No netlify edge function deployed with default project

Open gplusdotgr opened this issue 3 years ago • 4 comments

Qwik Version

0.12.1

Operating System (or Browser)

chrome

Node Version (if applicable)

No response

Which component is affected?

Qwik City

Expected Behaviour

a netlify edge function is deployed

Actual Behaviour

image

Additional Information

There's no endpoint accessible/available after netlify deploy - adapter is installed

gplusdotgr avatar Oct 31 '22 17:10 gplusdotgr

Hi @gkatsanos Thanks for raising this issue 🙏

I just gave it a try on my side doing these steps:

yarn create qwik
cd <app dir>
yarn qwik add netlify-edge
git ....

selected the repo on netlify and published it successfully to the edge. fn: https://warm-dasik-ac2b35.netlify.app/ repo: https://github.com/zanettin/qwik-netlify

would you mind to give it another try on your side? cc: @adamdbradley @manucorporat

zanettin avatar Nov 01 '22 21:11 zanettin

@zanettin try to create an endpoint and access it through your app..

gplusdotgr avatar Nov 02 '22 05:11 gplusdotgr

oh sorry! sure will test that as well. thought you mean with endpoint any route 👍

zanettin avatar Nov 02 '22 05:11 zanettin

hello again

can confirm the endpoint issue on netlify 👍
also tested cloudflare to see if it is a general issue with edge functions which is not the case: https://qwik-netlify.pages.dev/api

thanks again for reporting and sorry for the initial misunderstanding. hope @adamdbradley has an idea 🙏

zanettin avatar Nov 02 '22 06:11 zanettin