From e8158fa5c4fb9d8a27648ec2cd1d1b83c1888081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Thu, 13 Aug 2026 23:35:54 +0300 Subject: [PATCH] v1.6.1: document Private Network Access for public-hosted PWA --- help-ru.html | 1 + help.html | 1 + index.html | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/help-ru.html b/help-ru.html index 5447f54..619fa27 100644 --- a/help-ru.html +++ b/help-ru.html @@ -377,6 +377,7 @@ pip install . # Запустить сервер pysim-otaman-server --http-port 8080

Подключите PC/SC-ридер с SIM-картой и укажите в PWA адрес http://127.0.0.1:8080.

+

Если PWA раздаётся с публичного HTTPS-хоста (например, https://otaman.example.com), браузер применяет Private Network Access: сервер автоматически отвечает на preflight заголовком Access-Control-Allow-Private-Network: true, поэтому локальный сервер карт остаётся доступным из размещённого PWA.

diff --git a/help.html b/help.html index 2343392..b936910 100644 --- a/help.html +++ b/help.html @@ -377,6 +377,7 @@ pip install . # Start the server pysim-otaman-server --http-port 8080

Connect a PC/SC reader with a SIM card, then point the PWA at http://127.0.0.1:8080.

+

If the PWA is served from a public HTTPS host (e.g. https://otaman.example.com), the browser enforces Private Network Access: the server answers the preflight with Access-Control-Allow-Private-Network: true automatically, so a local card server stays reachable from the hosted PWA.

diff --git a/index.html b/index.html index fdc2aae..f8d3bb6 100644 --- a/index.html +++ b/index.html @@ -17,7 +17,7 @@
-

OTAMan SIM OTA with a Human Face v1.6.0

+

OTAMan SIM OTA with a Human Face v1.6.1

github