Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/support multi tenant chat #129

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
91829a7
multi-tenant chatId
niztal Apr 7, 2024
8d5b550
fix lint
niztal Apr 7, 2024
c1ff75e
local playground
niztal Apr 7, 2024
9ebb000
fix PR comments
niztal Apr 19, 2024
365ae53
add missing file
niztal Apr 19, 2024
ba98024
powered by ✨
niztal Apr 6, 2024
64df894
support chatId with combination of customerId
niztal Apr 7, 2024
499e698
multi-tenant chatId
niztal Apr 7, 2024
e3d16dd
merge original code
niztal Apr 19, 2024
4bc3f14
lint fixes
niztal Apr 19, 2024
5181619
fix PR comments
niztal Apr 19, 2024
828ee0b
support chatId with combination of customerId
niztal Apr 7, 2024
11bf057
Merge branch 'main' into feature/support-multi-tenant-chatId
niztal Apr 19, 2024
fb1a4f6
rollback gitignore
niztal Apr 19, 2024
be7c5bc
build artifacts
niztal Apr 19, 2024
3cce825
build artifacts #2
niztal Apr 19, 2024
460404f
rollback
niztal Apr 19, 2024
fe9f399
remove pnpm-lock.yaml
niztal Apr 21, 2024
28a7508
lint fix
niztal Apr 21, 2024
5b714e8
fix bug
niztal Apr 22, 2024
8389cf3
fix bug
niztal Apr 22, 2024
e63742d
rollback ShortTextInput
niztal Apr 22, 2024
0f3b7bf
rollback
niztal Apr 22, 2024
e79538d
rollback
niztal Apr 22, 2024
9b05c3a
remove whitespace
niztal Apr 22, 2024
8494297
merge from main
niztal Apr 22, 2024
c4fd45c
powered by ✨
niztal Apr 21, 2024
2036d44
artifacts
niztal Apr 21, 2024
0ed42b9
making the bot smaller for cart
niztal Apr 21, 2024
9ebb522
playground gitignore
niztal Apr 22, 2024
4be1be1
fix PR comments
niztal Apr 19, 2024
b690d6b
powered by ✨
niztal Apr 6, 2024
1f872ad
merge original code
niztal Apr 19, 2024
90fb7c0
lint fixes
niztal Apr 19, 2024
afbe16d
rollback
niztal Apr 22, 2024
fd539ac
rollback
niztal Apr 22, 2024
aba6aff
rollback
niztal Apr 22, 2024
8f60728
rollback
niztal Apr 22, 2024
bcd82fe
lint fix
niztal Apr 22, 2024
392216f
build artifacts
niztal Apr 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions playground/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import express from 'express';
HenryHengZJ marked this conversation as resolved.
Show resolved Hide resolved
import path from 'path';
import { fileURLToPath } from 'url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

const app = express(); // initailze a express application
app.use(express.static('../dist')); // make the public folder as static

app.get('/', (req, res) => {
res.sendFile(path.join(__dirname, '/public/index.html')); // serve the static html
});

const PORT = 3002;
app.listen(PORT, (err) => {
if (err) {
console.error(err);
return;
}
console.log(`Server is listening at: ${PORT}`);
});
Loading