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:
parent
27066eba4b
commit
d95af9c2e2
3 changed files with 11 additions and 1 deletions
changelog/entries/unreleased/bug
web-frontend
|
@ -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"
|
||||
}
|
3
web-frontend/config/nuxt.config.prod.js
Normal file
3
web-frontend/config/nuxt.config.prod.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
import base from './nuxt.config.base.js'
|
||||
|
||||
export default base()
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue