You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The connection string can be get by the azure cli command
301
+
302
+
```azcli
303
+
az webpubsub key show -g <resource group> -n <resource name>
304
+
```
305
+
306
+
The output will contains `primaryConnectionString` and `secondaryConnectionString`, and either is available.
307
+
294
308
### Setup tunnel
295
309
296
310
In serverless mode, the service uses webhooks to trigger the function. When running the app locally, a crucial problem is let the service be able to access your local function endpoint.
awps-tunnel run --hub hub --connection "<connection string>" --upstream http://127.0.0.1:7071
310
324
```
311
325
326
+
The `--upstream` is the url that local Azure Function exposes. The port may be different and you can check the output when starting the function in the next step.
327
+
312
328
### Run Sample App
313
329
314
330
After tunnel tool is running, you can run the Function App locally:
0 commit comments