langflow/src/frontend
anovazzi1 3653f5eefc feat(chatModal): add getWebSocketUrl function to generate WebSocket URL based on chatId and environment
This commit adds a new function called getWebSocketUrl to the ChatModal component. This function generates a WebSocket URL based on the chatId and environment. It determines whether to use the "ws" or "wss" protocol based on whether the current protocol is secure or not. It also determines the host based on whether the environment is development or production. This function will be used to establish a WebSocket connection to the server.
2023-06-15 15:53:56 -03:00
..
public migrating to Vite 2023-05-12 14:33:14 +00:00
src feat(chatModal): add getWebSocketUrl function to generate WebSocket URL based on chatId and environment 2023-06-15 15:53:56 -03:00
.gitignore refac: langflow_backend -> langflow 2023-03-17 09:50:02 -03:00
dev.Dockerfile feat(docker-compose.yml): add VITE_PROXY_TARGET environment variable to frontend service 2023-05-15 19:08:49 -03:00
Dockerfile refac: langflow_backend -> langflow 2023-03-17 09:50:02 -03:00
index.html migrating to Vite 2023-05-12 14:33:14 +00:00
nginx.conf refac: langflow_backend -> langflow 2023-03-17 09:50:02 -03:00
package-lock.json 🔧 chore(frontend): update dependencies and formatting in package.json and postcss.config.js 2023-06-15 10:20:14 -03:00
package.json 🔧 chore(frontend): update dependencies and formatting in package.json and postcss.config.js 2023-06-15 10:20:14 -03:00
postcss.config.js 🔧 chore(frontend): update dependencies and formatting in package.json and postcss.config.js 2023-06-15 10:20:14 -03:00
README.md refac: langflow_backend -> langflow 2023-03-17 09:50:02 -03:00
set_proxy.sh change line endings to linux. 2023-05-10 10:34:17 +00:00
tailwind.config.js 🔧 chore(frontend): update dependencies and formatting in package.json and postcss.config.js 2023-06-15 10:20:14 -03:00
tsconfig.json 🔧 chore(frontend): update dependencies and formatting in package.json and postcss.config.js 2023-06-15 10:20:14 -03:00
vite.config.ts Merge remote-tracking branch 'origin/validation_fix' into db 2023-06-15 07:37:26 -03:00

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you cant go back!

If you arent satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.

You dont have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.