mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 17:15:03 -07:00
proxy diff working
This commit is contained in:
+2
-2
@@ -10,7 +10,7 @@ import { AppModule } from './app.module';
|
||||
|
||||
async function bootstrap() {
|
||||
|
||||
if (process.env.PORT == null) {
|
||||
if (process.env.API_PORT == null) {
|
||||
console.error('It appears your environment is not configured, create and populate an .env file.');
|
||||
return;
|
||||
}
|
||||
@@ -45,7 +45,7 @@ async function bootstrap() {
|
||||
//Taproot
|
||||
bitcoinjs.initEccLib(ecc);
|
||||
|
||||
await app.listen(process.env.PORT, '0.0.0.0', (err, address) => {
|
||||
await app.listen(process.env.API_PORT, '0.0.0.0', (err, address) => {
|
||||
console.log(`API listening on ${address}`);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user