1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-17 18:32:35 +00:00

Resolve "Ensure default web-frontend image's nuxt command launches production version of image rather than dev."

This commit is contained in:
Nigel Gott 2023-07-20 10:29:12 +00:00
parent 27066eba4b
commit d95af9c2e2
3 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,7 @@
{
"type": "bug",
"message": "ensure default web frontend image s nuxt command launches production version of image rather",
"issue_number": 1862,
"bullet_points": [],
"created_at": "2023-07-20"
}

View file

@ -0,0 +1,3 @@
import base from './nuxt.config.base.js'
export default base()

View file

@ -87,7 +87,7 @@ case "$1" in
nuxt)
startup_plugin_setup
setup_additional_modules
exec ./node_modules/.bin/nuxt start --hostname "${BASEROW_WEBFRONTEND_BIND_ADDRESS:-0.0.0.0}" --port "$BASEROW_WEBFRONTEND_PORT" "${@:2}"
exec ./node_modules/.bin/nuxt start --hostname "${BASEROW_WEBFRONTEND_BIND_ADDRESS:-0.0.0.0}" --port "$BASEROW_WEBFRONTEND_PORT" --config-file ./config/nuxt.config.prod.js "${@:2}"
;;
nuxt-local)
startup_plugin_setup