aio app deploy is outputting bad urls
- Dominant language
- JavaScript
- Stars
- 95
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
### Expected Behaviour
Url can be loaded after deploy ...
(has `adobeio-static.net` as the domain)
### Actual Behaviour
Url is a 404
(has `adobeioruntime.net` as the domain)
### Reproduce Scenario (including but not limited to)
@adobe/aio-cli: 8.2.0
this seems to be a app that was created before extension-points were available
(presumably =>) create an application without selecting an extension-point, so you end up with a config like the following ..
`aio app info` prints an application that looks like:
```json
"application": {
"app": {
"hasBackend": true,
"hasFrontend": true,
"dist": "/Users/*user*/Projects/*org*/*app-name*/dist/application",
"defaultHostname": "adobeio-static.net",
"hostname": "adobeioruntime.net",
"htmlCacheDuration": "60",
"jsCacheDuration": "604800",
"cssCacheDuration": "604800",
"imageCacheDuration": "604800",
"name": "content-classification-app",
"version": "0.0.2"
},
```
and `aio app deploy` prints:
```bash
To view your deployed application:
-> https://.adobeioruntime.net/index.html
To view your deployed application in the Experience Cloud shell:
-> https://experience.adobe.com/?devMode=true#/custom-apps/?localDevUrl=https://.adobeioruntime.net/index.html
```
runtime urls are NEVER the cdn urls for loading the frontend ...
Contributor guide
Assessment
This issue has not been assessed yet.