Skip to content

Commit

Permalink
added server and version files
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysmithTTD committed Feb 4, 2025
1 parent 7c68b87 commit ef7aed5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const ejs = require('ejs');
const express = require('express');

const app = express();

const port = process.env.PORT || 3000;

app.engine('.html', ejs.__express);
app.set('view engine', 'html');

app.use(express.static('public', { type: 'application/javascript' }));

app.get('/', (req, res) => {
res.render('index');
});

app.listen(port, () => {
console.log(`Example app listening at http://localhost:${port}`);
});
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", "version": "2.1", "publicReleaseRefSpec": [ "^refs/heads/master$", "^refs/heads/v\\d+(?:\\.\\d+)?$" ], "cloudBuild": { "setVersionVariables": true, "buildNumber": { "enabled": true, "includeCommitId": { "when": "always" } } } }

0 comments on commit ef7aed5

Please sign in to comment.