-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Support internal pocketbase-images #28
Comments
Hello @tamaskan! I don't say no, but at the same time I don't have any plans for shipping integrated proxy. However, if you have some experience configuring Caddy, Nginx, or any other solution to work this way, I would be more than eager to discuss how to expand the documentation with the necessary steps and configurations. |
Is something like that https://vitejs.dev/config/server-options.html#server-proxy possible ? Basically have a proxy from like https://grimoire.domain/images to http://grimoire_internal . That should work with external and internal urls |
another much simpler way would be to save the images in base64 and use that as fallback |
I would have to check the limitations of the node adapter for SvelteKit. If it's doable with the current configuration, I'll add it to the backlog. Storing images as blobs has also its set of disadvantages. |
The app will now proxy PocketBase API calls (including fetching the images) through |
For docker-internal pocketbase-installations without a public domain some kind of proxy would be useful to avoid missing images.
The text was updated successfully, but these errors were encountered: