mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Separate websocket to its own role. Necessary because the app was getting pretty big already, but mostly because our Windows PCs don't like to connect to websockets on port 80, which is what we use for the app.
This commit is contained in:
8
lib/roles/app/middleware/browser-icons.js
Normal file
8
lib/roles/app/middleware/browser-icons.js
Normal file
@@ -0,0 +1,8 @@
|
||||
var express = require('express')
|
||||
|
||||
var pathutil = require('../../../util/pathutil')
|
||||
|
||||
module.exports = function() {
|
||||
return express.static(
|
||||
pathutil.root('node_modules/stf-browser-db/dist'))
|
||||
}
|
||||
Reference in New Issue
Block a user