[chore](client): point the dev tasks at the instance origin
The adb reverse and launch tasks now forward the instance port (8080) instead of the retired direct service port, matching the single-origin transport.
This commit is contained in:
Vendored
+5
-6
@@ -1,12 +1,11 @@
|
|||||||
{
|
{
|
||||||
// Alarm client (bare React Native, no Expo) — house task set.
|
// Alarm client (bare React Native, no Expo) — house task set.
|
||||||
// Metro is pinned to 127.0.0.1:8089 (see android/gradle.properties and
|
// Metro is pinned to 127.0.0.1:8089 (see android/gradle.properties and
|
||||||
// package.json's `start` script). 8088 is NOT Metro here: it is the Alarm
|
// package.json's `start` script). The app talks to ONE origin, the instance
|
||||||
// service's documented host port, so direct mode reverses it separately and
|
// on 8080 — every service is a path under it, so the service's own 8088 is
|
||||||
// the two can never fight over one host port.
|
// never reversed and nodes never need a second tunnel.
|
||||||
// device 127.0.0.1:8089 -> host 127.0.0.1:8089 (Metro packager)
|
// device 127.0.0.1:8089 -> host 127.0.0.1:8089 (Metro packager)
|
||||||
// device 127.0.0.1:8088 -> host 127.0.0.1:8088 (Alarm direct)
|
// device 127.0.0.1:8080 -> host 127.0.0.1:8080 (instance/Maestro origin)
|
||||||
// device 127.0.0.1:8080 -> host 127.0.0.1:8080 (Maestro)
|
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
@@ -36,7 +35,7 @@
|
|||||||
{
|
{
|
||||||
"label": "Setup adb reverse",
|
"label": "Setup adb reverse",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "adb reverse tcp:8089 tcp:8089 && adb reverse tcp:8088 tcp:8088 && adb reverse tcp:8080 tcp:8080 && adb reverse --list",
|
"command": "adb reverse tcp:8089 tcp:8089 && adb reverse tcp:8080 tcp:8080 && adb reverse --list",
|
||||||
"problemMatcher": []
|
"problemMatcher": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user