change dev port
This commit is contained in:
parent
8105a1e8f0
commit
c50239b5ca
@ -8,7 +8,7 @@ export class WebServer {
|
||||
}
|
||||
public createWebServer(expressApp: Express.Application): http.Server {
|
||||
const server = http.createServer(expressApp);
|
||||
const port = process.env.PORT || 5000;
|
||||
const port = process.env.PORT || 5005;
|
||||
server.listen(port, () => {
|
||||
console.log(`Server started on port ${port}`);
|
||||
});
|
||||
|
||||
@ -7,8 +7,8 @@ export type Server = {
|
||||
};
|
||||
|
||||
export const server: Server = useLocalServer ? {
|
||||
serverAdress: "http://localhost:5000",
|
||||
wsServerAdress: "ws://localhost:5000",
|
||||
serverAdress: "http://localhost:5005",
|
||||
wsServerAdress: "ws://localhost:5005",
|
||||
} : isAlpha ? {
|
||||
serverAdress: "https://segin.one/mancala-backend-alpha",
|
||||
wsServerAdress: "wss://segin.one/mancala-backend-alpha/",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user