MVP version
This commit is contained in:
commit
3f96943858
25 changed files with 3962 additions and 0 deletions
10
src/server.js
Normal file
10
src/server.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { config } from "./config.js";
|
||||
import { createApp } from "./app.js";
|
||||
import { ensureStorageLayout } from "./services/storage.js";
|
||||
|
||||
await ensureStorageLayout();
|
||||
|
||||
const app = createApp();
|
||||
app.listen(config.port, () => {
|
||||
console.log(`[web] Gameservers control listening on http://localhost:${config.port}`);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue