@Jacky Lam Thanks for reaching here!
It's possible that the endpoint name "icy-plant-00c90ef1e" was automatically generated by Azure Static Web Apps during the deployment process.
You may deploy using a swa-cli.config.json
configuration file in your project and have a single configuration entry.
{
"configurations": {
"my-app": {
"appLocation": "./",
"apiLocation": "api",
"outputLocation": "frontend",
"start": {
"outputLocation": "frontend"
},
"deploy": {
"outputLocation": "frontend"
}
}
}
}
Then you can deploy your application by running the following steps:
- If your front-end application requires a build step, run
swa build
or refer to your application build instructions. - Deploy your app:
swa deploy
- If you have multiple configuration entries, you can provide the entry ID to specify which one to use:
swa deploy my-otherapp
Note that the path for outputLocation
must be relative to the appLocation
.
Check for the options you use with swa deploy.
Let us know.