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

Refactor/vite #44

Merged
merged 2 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
14 changes: 14 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
VITE_API_URL = '/api'
VITE_CHAT_URL = '/chat'

VITE_AUTH_MODULE_URL = '/app/auth'

VITE_ADMIN_URL = '/admin'
VITE_AGENT_URL = '/workspace'
VITE_SUPERVISOR_URL = '/supervisor'
VITE_AUDIT_URL = '/audit'
VITE_HISTORY_URL = '/history'
VITE_GRAFANA_URL = '/grafana'
VITE_CRM_URL = '/crm'
VITE_OMNI_WIDGET_URL = '/omni-widget'
VITE_FLOW_DIAGRAM_URL = '/flow-diagram'
14 changes: 14 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
VITE_API_URL = 'https://dev.webitel.com/api'
VITE_CHAT_URL = 'chat'

VITE_AUTH_MODULE_URL = 'http://dev.webitel.com/app/auth'

VITE_ADMIN_URL = 'https://dev.webitel.com/admin'
VITE_AGENT_URL = 'https://dev.webitel.com/workspace'
VITE_SUPERVISOR_URL ='https://dev.webitel.com/supervisor'
VITE_AUDIT_URL = 'https://dev.webitel.com/audit'
VITE_HISTORY_URL = 'https://dev.webitel.com/history'
VITE_GRAFANA_URL = 'https://dev.webitel.com/grafana'
VITE_CRM_URL = 'https://dev.webitel.com/crm'
VITE_OMNI_WIDGET_URL = 'https://dev.webitel.com/omni-widget'
VITE_FLOW_DIAGRAM_URL = 'https://dev.webitel.com/flow-diagram'
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = {
root: true,
env: {
node: true,
es2022: true,
},
extends: [
'plugin:vue/vue3-essential',
Expand Down
17 changes: 17 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="/favicon.ico">
<title>CRM</title>
</head>
<body>
<noscript>
<strong>We're sorry but web-client doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
18 changes: 0 additions & 18 deletions jest.config.js

This file was deleted.

Loading