Closed oufimtse closed 3 months ago
Have a configuration option to modify default host name the local development server runs on. Today it is always localhost.
localhost
Should work for both aio app run and aio app dev.
aio app run
aio app dev
Similar to the HOST env var in create React script https://create-react-app.dev/docs/advanced-configuration/.
HOST
Local dev server always runs on localhost with no option to change that.
Run aio app run or aio app dev and observe your static content served from https://localhost:PORT.
See above.
All platforms.
N/A
JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-3105
PR https://github.com/adobe/aio-cli-plugin-app-dev/pull/90
Expected Behaviour
Have a configuration option to modify default host name the local development server runs on. Today it is always
localhost
.Should work for both
aio app run
andaio app dev
.Similar to the
HOST
env var in create React script https://create-react-app.dev/docs/advanced-configuration/.Actual Behaviour
Local dev server always runs on
localhost
with no option to change that.Reproduce Scenario (including but not limited to)
Run
aio app run
oraio app dev
and observe your static content served from https://localhost:PORT.Steps to Reproduce
See above.
Platform and Version
All platforms.
Sample Code that illustrates the problem
N/A
Logs taken while reproducing problem
N/A