mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update grunt connect config
This commit is contained in:
@ -24,8 +24,13 @@ module.exports = function(grunt) {
|
|||||||
server: {
|
server: {
|
||||||
options: {
|
options: {
|
||||||
hostname: '*',
|
hostname: '*',
|
||||||
directory: '.',
|
keepalive: true,
|
||||||
keepalive: true
|
middleware: function(connect, options) {
|
||||||
|
return [
|
||||||
|
connect.static(options.base),
|
||||||
|
connect.directory(options.base)
|
||||||
|
];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user