mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
[PR #243] [MERGED] Use relative paths for fetch calls and websocket #2120
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/OpenEPaperLink/OpenEPaperLink/pull/243
Author: @jhbruhn
Created: 2/26/2024
Status: ✅ Merged
Merged: 2/27/2024
Merged by: @nlimper
Base:
master← Head:patch_fetch_paths📝 Commits (2)
a1de698Use relative paths for fetch calls and websocket4c5ea9egzipped files📊 Changes
8 files changed (+37 additions, -37 deletions)
View changed files
📝
ESP32_AP-Flasher/data/www/flash.js.gz(+0 -0)📝
ESP32_AP-Flasher/data/www/main.js.gz(+0 -0)📝
ESP32_AP-Flasher/data/www/ota.js.gz(+0 -0)📝
ESP32_AP-Flasher/data/www/setup.js.gz(+0 -0)📝
ESP32_AP-Flasher/wwwroot/flash.js(+2 -2)📝
ESP32_AP-Flasher/wwwroot/main.js(+21 -21)📝
ESP32_AP-Flasher/wwwroot/ota.js(+11 -11)📝
ESP32_AP-Flasher/wwwroot/setup.js(+3 -3)📄 Description
This allows the OEPL Frontend to be put behind a reverse proxy like Home Assistant Ingress to proxy it behind a relative path.
I am open to changes if this breaks something. For the Websocket it had to add the
location.pathname, as that whole part needs the ws/wss protocol logic (unfortunately).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.