Comments (7)
Hey, thanks for checking out my project :)
I agree, this is something that really would be needed for any use case outside of an internal network. I have a few ideas on what could be done but you're right, it would take a bit of reworking.
It might be valid that all requests ultimately end up passing through the backend proxy.
from homepage.
Alright.... This was a big one.
I've fully refactored the entire widget system to pass all API calls through the backend, using mostly reusable API handlers, along with a few specific ones for the special cases. No secrets are ever sent to the frontend now, and everything is handled in the services widget proxy endpoint.
I've locally tested every widget, so I'm quite sure everything should still function in the exact same way with no changes on your side.
from homepage.
Nope, it should all be proxied now. Just waiting a bit for some other users to test it out to confirm everything is good.
from homepage.
I kept the API requests on the frontend purely for performance, and since I personally intended to run this privately, any proxy functionality that currently exists is to bypass CORS restrictions only.
from homepage.
Great work @benphelps, let me try it out on my setup :).
Is there anything else we need to implement to close the ticket?
from homepage.
Looking good! I have tested my services and they are working nicely so far (except for Openweathermap, it's still leaking).
I'll close this ticket as implemented!
from homepage.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns.
from homepage.
Related Issues (20)
- [Bug] Calendar shows finished event. HOT 3
- [Bug] Connection reset by peer since 0.8.6, 0.8.4 works HOT 2
- values set in .env file are not replaced in homepage
- [Bug] Cannot redirect logs to stdout
- [Bug] Customapi makes to much calls HOT 2
- Healthchecks new updated widget HOT 2
- [Bug] siteMonitor option for Proxmox Backup Server widget causes error to be logged on PBS HOT 4
- [Bug] ical Calendar widgets multiplies events HOT 3
- [Bug] Kavita Widget - JSON Error using HOMEPAGE_VAR env keys HOT 1
- Romm widget documentation incorrect HOT 2
- [Bug] adding a .env file to homepage breaks the docker integration on unraid HOT 1
- [Bug] Unifi widget does not set widget.fields if none are configured HOT 10
- [Bug] Container image missing `iputils` -- ping property fails HOT 6
- [Bug] Quick launch not opening with german Umlaut characters HOT 1
- Cloudflare tunnel error HOT 3
- UniFi Dream Router error / no information shown HOT 1
- [Bug]: mjpeg widget places background over icon HOT 4
- [BUG] iCal Integration with all-day events HOT 1
- [BUG] Google search suggestions fail with accented characters HOT 1
- [Bug] Omada widget not showing connected switches HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homepage.