mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
wrongly commited index.js file removed
This commit is contained in:
parent
1b8e5cc0a3
commit
dd682e26af
@ -1,15 +0,0 @@
|
||||
"use strict";
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const server_1 = __importDefault(require("./server"));
|
||||
const config_1 = __importDefault(require("./config"));
|
||||
const { server, httpServer } = (0, server_1.default)();
|
||||
const url = new URL(config_1.default.GRAPHQL_URI);
|
||||
httpServer.listen({ port: url.port }, () => {
|
||||
/* eslint-disable-next-line no-console */
|
||||
console.log(`🚀 Server ready at http://localhost:${url.port}${server.graphqlPath}`);
|
||||
/* eslint-disable-next-line no-console */
|
||||
console.log(`🚀 Subscriptions ready at ws://localhost:${url.port}${server.subscriptionsPath}`);
|
||||
});
|
||||
Loading…
x
Reference in New Issue
Block a user