Skip to content

Commit a059bac

Browse files
Set default port
* For ease of startup
1 parent bca4a5f commit a059bac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async function Do() {
2929
const app = express();
3030
app.use(nocache());
3131

32-
const port = process.env.PORT;
32+
const port = process.env.PORT ?? 8080;
3333

3434
// TODO: fix/determine why OpenAPIBackend is having issues loading files on its own...
3535
const doc = yaml.load(fs.readFileSync(path.resolve(__dirname, 'openapi.yaml'), 'utf8'));

0 commit comments

Comments
 (0)