Skip to content

Commit 52e5422

Browse files
committed
Update token URL
1 parent 4b5ac5c commit 52e5422

7 files changed

Lines changed: 9 additions & 7 deletions

File tree

__tests__/html/speech.customAudioConfig.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<script>
1212
run(async function () {
1313
const { authorizationToken, region } = await fetch(
14-
'https://hawo-mockbot4-token-app.blueriver-ce85e8f0.westus.azurecontainerapps.io/api/token/speech',
14+
'https://hawo-mockbot4-token-app.ambitiousflower-67725bfd.westus.azurecontainerapps.io/api/token/speech',
1515
{
1616
method: 'POST'
1717
}

__tests__/html/speechRecognition.simple.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe.each([
3434

3535
const { token } = await (
3636
await fetch(
37-
'https://hawo-mockbot4-token-app.blueriver-ce85e8f0.westus.azurecontainerapps.io/api/token/directline',
37+
'https://hawo-mockbot4-token-app.ambitiousflower-67725bfd.westus.azurecontainerapps.io/api/token/directline',
3838
{ method: 'POST' }
3939
)
4040
).json();

__tests__/setup/web/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
} else {
168168
const { token } = await retry(async () => {
169169
try {
170-
const res = await fetch('https://hawo-mockbot4-token-app.blueriver-ce85e8f0.westus.azurecontainerapps.io/api/token/directline', {
170+
const res = await fetch('https://hawo-mockbot4-token-app.ambitiousflower-67725bfd.westus.azurecontainerapps.io/api/token/directline', {
171171
method: 'POST',
172172
timeout: 2000
173173
});

packages/test/page-object/src/globals/testHelpers/token/fetchDirectLineAppServiceExtensionToken.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default async function fetchDirectLineAppServiceExtensionToken() {
22
const res = await fetch(
3-
'https://hawo-mockbot4-token-app.blueriver-ce85e8f0.westus.azurecontainerapps.io/api/token/directlinease',
3+
'https://hawo-mockbot4-token-app.ambitiousflower-67725bfd.westus.azurecontainerapps.io/api/token/directlinease',
44
{ method: 'POST' }
55
);
66

packages/test/page-object/src/globals/testHelpers/token/fetchDirectLineSpeechCredentials.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function createFetchDirectLineSpeechCredentials() {
66
if (!resultPromise || Date.now() > expireAfter) {
77
expireAfter = Date.now() + 5000;
88
resultPromise = fetch(
9-
'https://hawo-mockbot4-token-app.blueriver-ce85e8f0.westus.azurecontainerapps.io/api/token/speech',
9+
'https://hawo-mockbot4-token-app.ambitiousflower-67725bfd.westus.azurecontainerapps.io/api/token/speech',
1010
{
1111
method: 'POST'
1212
}

packages/test/page-object/src/globals/testHelpers/token/fetchDirectLineToken.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default async function fetchDirectLineToken(
2-
url = 'https://hawo-mockbot4-token-app.blueriver-ce85e8f0.westus.azurecontainerapps.io/api/token/directline'
2+
url = 'https://hawo-mockbot4-token-app.ambitiousflower-67725bfd.westus.azurecontainerapps.io/api/token/directline'
33
) {
44
const res = await fetch(url, { method: 'POST' });
55

packages/test/page-object/src/globals/testHelpers/token/fetchSpeechServicesCredentials.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ function createFetchSpeechServicesCredentials() {
22
let expireAfter = 0;
33
let resultPromise;
44

5-
return (url = 'https://hawo-mockbot4-token-app.blueriver-ce85e8f0.westus.azurecontainerapps.io/api/token/speech') => {
5+
return (
6+
url = 'https://hawo-mockbot4-token-app.ambitiousflower-67725bfd.westus.azurecontainerapps.io/api/token/speech'
7+
) => {
68
if (!resultPromise || Date.now() > expireAfter) {
79
expireAfter = Date.now() + 5000;
810
resultPromise = fetch(url, { method: 'POST' })

0 commit comments

Comments
 (0)