proxy diff working

This commit is contained in:
Ben Wilson
2023-08-13 23:26:06 -04:00
parent 5369b2dc12
commit 42235736fa
15 changed files with 504 additions and 20 deletions
+2 -2
View File
@@ -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}`);
});