We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ee5a35 commit f1b4c4cCopy full SHA for f1b4c4c
typescript-magic-link-example/dist/index.js
@@ -9,7 +9,7 @@ require("dotenv/config");
9
const index_1 = __importDefault(require("./routes/index"));
10
dotenv_1.default.config();
11
const app = (0, express_1.default)();
12
-const port = process.env.PORT;
+const port = process.env.PORT || 8000;
13
app.use('/public', express_1.default.static('public'));
14
app.use(express_1.default.urlencoded({ extended: false }));
15
app.use('/', index_1.default);
typescript-magic-link-example/index.ts
@@ -7,7 +7,7 @@ dotenv.config()
7
8
const app = express();
app.use('/public', express.static('public'))
0 commit comments