change dev port

This commit is contained in:
Halit Aksoy 2024-03-24 05:30:48 +03:00
parent 8105a1e8f0
commit c50239b5ca
2 changed files with 3 additions and 3 deletions

View File

@ -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}`);
});

View File

@ -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/",