mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2026-04-28 03:07:38 +02:00
vhost start
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
const express = require('express')
|
||||
const vhost = require('vhost')
|
||||
|
||||
express()
|
||||
.use(vhost('qmining.frylabs.net', require('./server.js').app))
|
||||
.use(vhost('frylabs.net', require('./server.js').app))
|
||||
// .use(vhost('sync.mysite.com', require('/path/to/sync').app))
|
||||
.listen(8080)
|
||||
Reference in New Issue
Block a user