mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-06-18 10:06:26 +00:00
Adding sign with google in NPM
This commit is contained in:
19
backend/server.js
Normal file
19
backend/server.js
Normal file
@ -0,0 +1,19 @@
|
||||
const express = require("express");
|
||||
const app = express();
|
||||
|
||||
const PORT = process.env.PORT || 5000;
|
||||
cd
|
||||
// Middleware
|
||||
app.set('view engine', 'ejs');
|
||||
|
||||
app.get('/', (req, res) => {
|
||||
res.send("Hello World");
|
||||
})
|
||||
|
||||
app.get('/login', (req, res) => {
|
||||
res.render('../login')
|
||||
})
|
||||
|
||||
app.listen(PORT, () => {
|
||||
console.log(`Server running on port ${PORT}`)
|
||||
})
|
Reference in New Issue
Block a user