Improve the conversation process
This commit is contained in:
@@ -14,4 +14,6 @@ RUN yarn build
|
|||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
# TODO: You can use NITRO_PRESET=node_cluster in order to leverage multi-process performance using Node.js cluster module. https://nuxt.com/docs/getting-started/deployment
|
||||||
|
|
||||||
ENTRYPOINT ["node", ".output/server/index.mjs"]
|
ENTRYPOINT ["node", ".output/server/index.mjs"]
|
||||||
@@ -26,7 +26,7 @@ const processMessageQueue = () => {
|
|||||||
isProcessingQueue = true
|
isProcessingQueue = true
|
||||||
const nextMessage = messageQueue.shift()
|
const nextMessage = messageQueue.shift()
|
||||||
console.log(runtimeConfig.public.typewriter)
|
console.log(runtimeConfig.public.typewriter)
|
||||||
console.log(process.evn.NUXT_PUBLIC_TYPEWRITER)
|
// console.log(process.env.NUXT_PUBLIC_TYPEWRITER)
|
||||||
if (runtimeConfig.public.typewriter) {
|
if (runtimeConfig.public.typewriter) {
|
||||||
let wordIndex = 0;
|
let wordIndex = 0;
|
||||||
const intervalId = setInterval(() => {
|
const intervalId = setInterval(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user