File tree 5 files changed +9
-1
lines changed
5 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ APP_URL=http://localhost:3000/
2
2
COOKIE_DOMAIN = localhost
3
3
COOKIE_SECURE = false
4
4
DATA_DIR = ~/.local/state/keybr
5
- PUBLIC_DIR = ~/keybr.com/root/public
6
5
7
6
DATABASE_CLIENT = sqlite
8
7
DATABASE_FILENAME = ~/.local/state/keybr/database.sqlite
Original file line number Diff line number Diff line change 1
1
import cluster , { type ClusterSettings } from "node:cluster" ;
2
2
import { Application } from "@fastr/core" ;
3
3
import { Container } from "@fastr/invert" ;
4
+ import { Manifest } from "@keybr/assets" ;
4
5
import { ConfigModule , Env } from "@keybr/config" ;
5
6
import { Logger } from "@keybr/logger" ;
6
7
import { Game } from "@keybr/multiplayer-server" ;
@@ -53,6 +54,7 @@ function makeContainer() {
53
54
container . load ( new ConfigModule ( ) ) ;
54
55
container . load ( new ApplicationModule ( ) ) ;
55
56
container . load ( new ServerModule ( ) ) ;
57
+ container . get ( Manifest ) ; // Sanity check.
56
58
return container ;
57
59
}
58
60
Original file line number Diff line number Diff line change
1
+ "use strict" ;
2
+
3
+ const { join } = require ( "node:path" ) ;
4
+
5
+ process . env . PUBLIC_DIR = join ( __dirname , "public" ) ;
Original file line number Diff line number Diff line change 2
2
3
3
"use strict" ;
4
4
5
+ require ( "./_config.js" ) ;
5
6
require ( "./lib/index.js" ) ;
Original file line number Diff line number Diff line change 2
2
3
3
"use strict" ;
4
4
5
+ require ( "./_config.js" ) ;
5
6
require ( "./lib/keybr.js" ) ;
You can’t perform that action at this time.
0 commit comments