Skip to content

Commit 03c7ccf

Browse files
Merge pull request #273918 from dlepow/portalroute
[APIC][release-ga-api-center] Update data hostname
2 parents 4930aa2 + e8cb4e8 commit 03c7ccf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/api-center/enable-api-center-portal.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Follow these steps to build and test the API Center portal locally.
9292
9393
```json
9494
{
95-
"dataApiHostName": "<service name>.data.<region>.azure-apicenter.ms",
95+
"dataApiHostName": "<service name>.data.<region>.azure-apicenter.ms/workspaces/default",
9696
"title": "API portal",
9797
"authentication": {
9898
"clientId": "<client ID>",
@@ -103,20 +103,20 @@ Follow these steps to build and test the API Center portal locally.
103103
}
104104
```
105105
106-
1. Start the development server to test the portal locally.
106+
1. Install required packages.
107107
108108
```bash
109-
npm start
109+
npm install
110110
```
111111
112-
Browse to the portal at `https://localhost:5173`.
113-
114-
1. When you're ready to build the portal for production, run the following command.
112+
1. Start the development server. The following command will start the portal in development mode running locally:
115113
116114
```bash
117-
npm run build
115+
npm start
118116
```
119117
118+
Browse to the portal at `https://localhost:5173`.
119+
120120
## Deploy to Azure
121121
122122
For steps to deploy the portal to Azure Static Web Apps, see the [API Center portal starter](https://github.com/Azure/APICenter-Portal-Starter.git) repository.

0 commit comments

Comments
 (0)