Skip to content

Commit

Permalink
Default app id for browser-client-example and react-client-example
Browse files Browse the repository at this point in the history
  • Loading branch information
arzga committed Nov 4, 2021
1 parent 386df2a commit 86f3f24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/browser-client-example/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ window.onload = () => {
};

function newClient(): Client {
const appId = process.env.REACT_APP_APP_ID;
const appId = process.env.REACT_APP_APP_ID || "be3bfb17-ee36-4050-8830-743aa85065ab";
if (appId === undefined) {
throw Error("Missing Speechly app ID!");
}
Expand Down
2 changes: 1 addition & 1 deletion examples/react-client-example/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import {SpeechProvider, useSpeechContext} from '@speechly/react-client'

export default function App() {
const appId = process.env.REACT_APP_APP_ID ?? "";
const appId = process.env.REACT_APP_APP_ID ?? "be3bfb17-ee36-4050-8830-743aa85065ab";
if (appId === undefined) {
throw Error("Missing Speechly app ID!");
}
Expand Down

0 comments on commit 86f3f24

Please sign in to comment.