digitalocean / sample-functions-nodejs-qrcode

39 stars 45 forks source link

index.html return 404 #10

Open vidcornd opened 1 year ago

vidcornd commented 1 year ago

https://faas....7.doserverless.co/api/v1/web/fn....9c/index.html returns 404 I deployed function. How can I access web ui ?

rabbah commented 1 year ago

you deployed this project through app platform? if so, the link for the html is relative to your app's domain name. if you want to deploy the html to be served from a function (vs a CDN as happens with app platform in this case), you can do that but will need to write a function that returns the html.