mirror of
https://github.com/gchq/CyberChef
synced 2025-03-14 05:46:56 +00:00
allow custom ports for Grunt tasks
This commit is contained in:
parent
f7be8d720b
commit
4b6cebc068
1 changed files with 2 additions and 1 deletions
|
@ -219,6 +219,7 @@ module.exports = function (grunt) {
|
|||
options: {
|
||||
webpack: webpackConfig,
|
||||
host: "0.0.0.0",
|
||||
port: grunt.option("port") || 8080,
|
||||
disableHostCheck: true,
|
||||
overlay: true,
|
||||
inline: false,
|
||||
|
@ -275,7 +276,7 @@ module.exports = function (grunt) {
|
|||
connect: {
|
||||
prod: {
|
||||
options: {
|
||||
port: 8000,
|
||||
port: grunt.option("port") || 8000,
|
||||
base: "build/prod/"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue