- Remove NEXTCLOUD_PROXY constant
- Remove fetchWithProxy() and getProxiedUrl() methods
- Remove useProxy flag from NextcloudStorage
- Keep window.app onclick handlers for dynamically generated buttons
- Clean up code since Nextcloud and TeeTracker run on same domain (wralto.org)
Co-authored-by: trevor1969 <trevor1969@users.noreply.github.com>
- Fix reference to undefined 'error' variable in proxy error handler
- Use only proxyError.message in the error message
Co-authored-by: trevor1969 <trevor1969@users.noreply.github.com>
- Add NEXTCLOUD_PROXY constant for corsproxy.io
- Add getProxiedUrl() method to NextcloudStorage class
- Add fetchWithProxy() wrapper method that tries direct connection first,
then falls back to CORS proxy if direct connection fails
- Update all fetch() calls in NextcloudStorage to use fetchWithProxy()
- Add useProxy flag to track proxy usage
- This fixes 'NetworkError when attempting to fetch resource' for servers
like wralto.org/nextcloud3 that have CORS restrictions
Co-authored-by: trevor1969 <trevor1969@users.noreply.github.com>