Skip to content

Commit

Permalink
Serverside crash workaround (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinddchen authored May 2, 2023
1 parent 3f04230 commit 2505bed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "machikoro",
"version": "0.6.0",
"version": "0.6.1",
"private": true,
"dependencies": {
"boardgame.io": "^0.50.2",
Expand Down
5 changes: 2 additions & 3 deletions src/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import serve from 'koa-static';

import { Machikoro } from '../game';
import { PORT } from '../common/config';
import { addCustomMiddleware } from './middleware';

// game server
const server = Server({
Expand All @@ -17,8 +16,8 @@ const server = Server({
],
});

// run our middleware before any of boardgame.io's middleware
addCustomMiddleware(server);
// TODO: figure out how to add our custom middleware
// addCustomMiddleware(server);

// Build path relative to this file
const frontEndAppBuildPath = path.resolve(__dirname, '../../build');
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Generated by genversion.
export const version = '0.6.0';
export const version = '0.6.1';

0 comments on commit 2505bed

Please sign in to comment.