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
{{ message }}
Repository navigation
Commit 5d26b77
Browse filesBrowse the repository at this point in the historyBrowse files
constisNetworkError=err.name==='TypeError'||err.message.toLowerCase().includes('failed to fetch')||err.message.toLowerCase().includes('network');
205
+
constisNetworkError=err.name==='TypeError'||err.message.toLowerCase().includes('failed to fetch')||err.message.toLowerCase().includes('network')||err.message.toLowerCase().includes('could not connect');
178
206
179
207
if(isNetworkError){
180
208
setError(
181
-
'Could not connect to the local backend server (http://localhost:3001). Please ensure "npm run dev" is active in your terminal. You can still use the app by selecting a pre-loaded Demo Video below, or manually pasting subtitles.'
209
+
'Could not connect to the local backend server (http://localhost:3001). Please ensure "npm run dev" is running in your terminal. You can still use the app by selecting a pre-loaded Demo Video below, or manually pasting subtitles.'
182
210
);
183
211
}else{
184
212
setError(err.message||'An error occurred while fetching video details.');
0 commit comments