Improve the conversation process

This commit is contained in:
Rafi
2023-04-04 19:23:57 +08:00
parent 3e3283029d
commit 1a6bf1d239
2 changed files with 3 additions and 1 deletions

View File

@@ -14,4 +14,6 @@ RUN yarn build
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"]

View File

@@ -26,7 +26,7 @@ const processMessageQueue = () => {
isProcessingQueue = true
const nextMessage = messageQueue.shift()
console.log(runtimeConfig.public.typewriter)
console.log(process.evn.NUXT_PUBLIC_TYPEWRITER)
// console.log(process.env.NUXT_PUBLIC_TYPEWRITER)
if (runtimeConfig.public.typewriter) {
let wordIndex = 0;
const intervalId = setInterval(() => {