mimic-recording-studio icon indicating copy to clipboard operation
mimic-recording-studio copied to clipboard

When I enter my name into the frontend box, it gives me error: Unhandled Rejection (TypeError): Failed to fetch getUser

Open ZeLiu369 opened this issue 1 year ago • 1 comments

× Unhandled Rejection (TypeError): Failed to fetch getUser src/App/api/index.js:20 17 | }; 18 | 19 | export const getUser = uuid => {

20 | return fetch(apiRoot + api/user/?uuid=${uuid}, { 21 | method: 'GET' 22 | }) 23 | } View compiled Record._this.requestUserDetails src/App/Record.js:152 149 | }; 150 | 151 | requestUserDetails = uuid => { 152 | getUser(uuid) 153 | .then(res => res.json()) 154 | .then(res => { 155 | if (res.success) { View compiled Record.componentDidMount src/App/Record.js:43 40 | 41 | componentDidMount() { 42 | document.addEventListener("keydown", this.handleKeyDown, false); 43 | this.requestUserDetails(this.uuid); 44 | } 45 | 46 | componentWillUnmount() {

ZeLiu369 avatar Jul 24 '23 21:07 ZeLiu369

I get the same on Chrome. Interestingly, I don't get it on Safari, but Safari doesn't have the mic support. Firefox just crashes. I should also note for me this is using the supplied docker image method.

marshalleq avatar Aug 02 '23 03:08 marshalleq