Rename base server to just server

Summary:
^

BaseServer doesn't really have any meaning. So, change it to just Server as it really creates the Express app and HTTP server attached to it.

Reviewed By: passy

Differential Revision: D36310822

fbshipit-source-id: eee5a2a395ca726679c1c4756ed58d4bc6be3cb8
This commit is contained in:
Lorenzo Blasa
2022-05-11 06:56:20 -07:00
committed by Facebook GitHub Bot
parent 2493de75ab
commit 453ec4bd83
2 changed files with 46 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ import process from 'process';
import chalk from 'chalk';
import path from 'path';
import {startFlipperServer} from './startFlipperServer';
import {startBaseServer} from './startBaseServer';
import {startServer} from './startServer';
import {startSocketServer} from './startSocketServer';
import {startDevServer} from './startDevServer';
@@ -77,7 +77,7 @@ async function start() {
// Noop
};
const {app, server, socket} = await startBaseServer({
const {app, server, socket} = await startServer({
port: argv.port,
staticDir,
entry: 'index.web.dev.html',