We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bca4a5f commit a059bacCopy full SHA for a059bac
1 file changed
src/app.ts
@@ -29,7 +29,7 @@ async function Do() {
29
const app = express();
30
app.use(nocache());
31
32
- const port = process.env.PORT;
+ const port = process.env.PORT ?? 8080;
33
34
// TODO: fix/determine why OpenAPIBackend is having issues loading files on its own...
35
const doc = yaml.load(fs.readFileSync(path.resolve(__dirname, 'openapi.yaml'), 'utf8'));
0 commit comments