Fix ttn app server action in build script
This commit is contained in:
parent
46bb1d9047
commit
3f1cf278e9
1 changed files with 5 additions and 5 deletions
6
build
6
build
|
@ -36,7 +36,7 @@ if [[ "$#" -lt 1 ]]; then
|
||||||
echo -e "${CSECTION}Available actions${RS}";
|
echo -e "${CSECTION}Available actions${RS}";
|
||||||
echo -e " ${CACTION}setup${RS} - Perform initial setup";
|
echo -e " ${CACTION}setup${RS} - Perform initial setup";
|
||||||
echo -e " ${CACTION}render${RS} - Render the report";
|
echo -e " ${CACTION}render${RS} - Render the report";
|
||||||
echo -e " ${CACTION}server${RS} - Execute the Node.js server.";
|
echo -e " ${CACTION}server-ttn${RS} - Execute the Node.js TTN receiver.";
|
||||||
echo -e "";
|
echo -e "";
|
||||||
|
|
||||||
exit 1;
|
exit 1;
|
||||||
|
@ -107,8 +107,8 @@ task_setup() {
|
||||||
stage_end 0;
|
stage_end 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
task_server() {
|
task_server-ttn() {
|
||||||
execute node --experimental-modules ./server/index.mjs $@;
|
execute node --experimental-modules ./server/index.mjs ttn-app-server;
|
||||||
}
|
}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
Loading…
Reference in a new issue