mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-20 21:23:41 +03:00
Co-authored-by: Kai Chappel <kaichappel@users.noreply.github.com> Co-authored-by: nmfretz <nmfretz@gmail.com>
6 lines
335 B
Plaintext
6 lines
335 B
Plaintext
// Keep ORIGIN for the PHP API's canonical share URLs. The upstream launcher
|
|
// forces that origin onto browser requests, which rejects HTTPS form actions
|
|
// when ORIGIN uses HTTP. Start the adapter directly so it uses the trusted
|
|
// Umbrel proxy's protocol and the request's Host, with CSRF checks intact.
|
|
await import('./index.js');
|