tools: screenshot mock backend (branch-only)
A thin HTTP proxy to the public PeerTube demo instance with overrides so the authenticated screens populate without an account, for regenerating the README screenshots without the private instance. Includes a debug-only cleartext flag so a debug build can reach the proxy over HTTP. Kept on this branch; main stays clean. See tools/mock/README.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
e9d7b473fb
commit
35f2633fa5
3 changed files with 178 additions and 4 deletions
|
|
@ -1,7 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Debug builds only: allow plain HTTP so local mock instances (e.g. the
|
||||
screenshot/demo server on 10.0.2.2) work without TLS. Release keeps the
|
||||
default policy. -->
|
||||
<!--
|
||||
Debug-only overlay: allow cleartext HTTP so a debug build can talk to the local
|
||||
mock PeerTube backend (tools/mock) over http://10.0.2.2:PORT for README
|
||||
screenshots. Merged into the manifest for the debug build type only; the
|
||||
release build and `main` are unaffected. See tools/mock/README.md.
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<application android:usesCleartextTraffic="true" />
|
||||
</manifest>
|
||||
</manifest>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue