forked from mirrors/amnezia-wg-easy
wip
This commit is contained in:
parent
d7bb645470
commit
d8f45476da
6 changed files with 104 additions and 63 deletions
|
|
@ -15,11 +15,13 @@ const {
|
|||
PASSWORD,
|
||||
} = require('../config');
|
||||
|
||||
WireGuard.getClients().then(console.log);
|
||||
module.exports = class Server {
|
||||
|
||||
constructor() {
|
||||
// Express
|
||||
this.app = express()
|
||||
.disable('etag')
|
||||
.use('/', express.static(path.join(__dirname, '..', 'www')))
|
||||
.use(express.json())
|
||||
.use(expressSession({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue