Hello, is it possible to send my HTML page so that it is displayed in the functions responses?
yup. we have some function templates that demo that like the node prompt chatGPT one
Can I send my complete website, also the Firebase hosting?
Are you asking if you can use firebase hosting with Appwrite? Sure. It doesn't matter where you deploy your client app
No, I would like to know if I can host my complete website on appwrite itself, without depending on external services, it would be interesting to have all-in-one on appwrite
Technically, yes
this is quite interesting... Where can I find an example of how to do exactly this?
Did you look at this?
I will look now
From what I saw here, will I have to embed all css and js within an index.html?
If you want code separation you'll need to setup your function to also serve the js and css files, similar to how it serves up the index.html file on a get request.
If you want you can take a look at a function I've done that does serve html,css, and js files.
https://github.com/dishwasher-detergent/screenshot/blob/main/functions/screenshot/src/pages/home.ts
Though it does use Hono, to assist in this.
Recommended threads
- RowList: The value of total is coming as...
RowList: The value of total is coming as a String, so it throws an error because it’s not parsed into an int. Error: TypeError: \"37\": type 'String' is not a ...
- 408 Timeout / Curl Error 7 in Executor w...
Hey everyone, I am losing my mind over a routing loop/timeout issue on a fresh self-hosted setup. I have a single Linux VPS (IP: 45.141.37.105) and one domain (...
- functions returning error 401 in local
I updated to 1.9.0, and the functions that used to work fine in 1.8.1 are now giving me a 401 error. I can't seem to find a solution. If anyone is running versi...