1
0
mirror of synced 2025-02-21 20:40:24 +01:00

Merge branch 'allow-custom-ports' of https://github.com/retnikt/CyberChef into retnikt-allow-custom-ports

This commit is contained in:
n1474335 2020-02-13 12:34:02 +00:00
commit 4be0a436f2

View File

@ -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/"
} }
} }