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
- Replace the `start` command in `package.json`
with `start:prod` and `start:beta`, which run the game
in "production" and "beta" mode respectively
Previously, `start` would run the game in "development" mode
just like `start:dev` due to the `vite` command running in
"development" mode by default if no `--mode` arg was passed
- Add `IS_DEV` global constant that checks for "development" mode
- Remove `Api#isLocal` and replace its uses with `BYPASS_LOGIN`
- Add " (Beta)" to window title and game version displayed
on the title screen when in "development" or "beta" mode
- Replace `.then()` pattern with `await` in `main.ts`
- Remove obsolete commented code in `game-data.ts`
// const errorString = `Received unhandled error. Open browser console and click OK to see details.\nError: ${message}\nSource: ${source}\nLine: ${lineno}\nColumn: ${colno}\nStack: ${error.stack}`;
8
-
//alert(errorString);
9
12
// Avoids logging the error a second time.
10
13
returntrue;
11
14
};
12
15
13
-
// Catch global promise rejections and display them in an alert so users can report the issue.
0 commit comments