mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04: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: {
|
options: {
|
||||||
webpack: webpackConfig,
|
webpack: webpackConfig,
|
||||||
host: "0.0.0.0",
|
host: "0.0.0.0",
|
||||||
|
port: grunt.option("port") || 8080,
|
||||||
disableHostCheck: true,
|
disableHostCheck: true,
|
||||||
overlay: true,
|
overlay: true,
|
||||||
inline: false,
|
inline: false,
|
||||||
|
@ -275,7 +276,7 @@ module.exports = function (grunt) {
|
||||||
connect: {
|
connect: {
|
||||||
prod: {
|
prod: {
|
||||||
options: {
|
options: {
|
||||||
port: 8000,
|
port: grunt.option("port") || 8000,
|
||||||
base: "build/prod/"
|
base: "build/prod/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue