Skip to content

Commit

Permalink
use :port instead of 0.0.0.0:port
Browse files Browse the repository at this point in the history
  • Loading branch information
mathnogueira committed Aug 26, 2024
1 parent 300c40e commit a09a9b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const startApp = async () => {

server.addService(PokeshopService, PokemonRpcService);

server.bindAsync(`0.0.0.0:${RPC_PORT}`, ServerCredentials.createInsecure(), error => {
server.bindAsync(`:${RPC_PORT}`, ServerCredentials.createInsecure(), error => {
if (error) {
console.log(error)
}
Expand Down

0 comments on commit a09a9b6

Please sign in to comment.