Compare commits
2 Commits
5f5d1c91a8
...
4f8d79ca3f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f8d79ca3f | ||
|
|
e6a926f803 |
@@ -21,6 +21,8 @@ ALLOWED_HOSTS = [
|
|||||||
'*', # Allow all hosts for flexibility
|
'*', # Allow all hosts for flexibility
|
||||||
'api.igny8.com',
|
'api.igny8.com',
|
||||||
'app.igny8.com',
|
'app.igny8.com',
|
||||||
|
'igny8.com',
|
||||||
|
'www.igny8.com',
|
||||||
'31.97.144.105',
|
'31.97.144.105',
|
||||||
'localhost',
|
'localhost',
|
||||||
'127.0.0.1',
|
'127.0.0.1',
|
||||||
@@ -207,9 +209,13 @@ REST_FRAMEWORK = {
|
|||||||
# CORS Configuration
|
# CORS Configuration
|
||||||
CORS_ALLOWED_ORIGINS = [
|
CORS_ALLOWED_ORIGINS = [
|
||||||
"https://app.igny8.com",
|
"https://app.igny8.com",
|
||||||
|
"https://igny8.com",
|
||||||
|
"https://www.igny8.com",
|
||||||
"http://localhost:5173",
|
"http://localhost:5173",
|
||||||
|
"http://localhost:5174",
|
||||||
"http://localhost:3000",
|
"http://localhost:3000",
|
||||||
"http://127.0.0.1:5173",
|
"http://127.0.0.1:5173",
|
||||||
|
"http://127.0.0.1:5174",
|
||||||
]
|
]
|
||||||
|
|
||||||
CORS_ALLOW_CREDENTIALS = True
|
CORS_ALLOW_CREDENTIALS = True
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ services:
|
|||||||
container_name: igny8_marketing
|
container_name: igny8_marketing
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:8022:8020" # Marketing site port (internal: 8020, external: 8022)
|
- "0.0.0.0:8022:5174" # Marketing site port (internal: 5174, external: 8022)
|
||||||
networks: [igny8_net]
|
networks: [igny8_net]
|
||||||
labels:
|
labels:
|
||||||
- "com.docker.compose.project=igny8-app"
|
- "com.docker.compose.project=igny8-app"
|
||||||
|
|||||||
30
frontend/node_modules/.vite/deps/_metadata.json
generated
vendored
30
frontend/node_modules/.vite/deps/_metadata.json
generated
vendored
@@ -7,91 +7,91 @@
|
|||||||
"clsx": {
|
"clsx": {
|
||||||
"src": "../../clsx/dist/clsx.mjs",
|
"src": "../../clsx/dist/clsx.mjs",
|
||||||
"file": "clsx.js",
|
"file": "clsx.js",
|
||||||
"fileHash": "335e755e",
|
"fileHash": "ffd99fc3",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"tailwind-merge": {
|
"tailwind-merge": {
|
||||||
"src": "../../tailwind-merge/dist/bundle-mjs.mjs",
|
"src": "../../tailwind-merge/dist/bundle-mjs.mjs",
|
||||||
"file": "tailwind-merge.js",
|
"file": "tailwind-merge.js",
|
||||||
"fileHash": "ba411a67",
|
"fileHash": "5ec42e8a",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"zustand": {
|
"zustand": {
|
||||||
"src": "../../zustand/esm/index.mjs",
|
"src": "../../zustand/esm/index.mjs",
|
||||||
"file": "zustand.js",
|
"file": "zustand.js",
|
||||||
"fileHash": "01c7a42f",
|
"fileHash": "35b5babc",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"apexcharts": {
|
"apexcharts": {
|
||||||
"src": "../../apexcharts/dist/apexcharts.esm.js",
|
"src": "../../apexcharts/dist/apexcharts.esm.js",
|
||||||
"file": "apexcharts.js",
|
"file": "apexcharts.js",
|
||||||
"fileHash": "95f9f7ed",
|
"fileHash": "afaf2600",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"react-apexcharts": {
|
"react-apexcharts": {
|
||||||
"src": "../../react-apexcharts/dist/react-apexcharts.min.js",
|
"src": "../../react-apexcharts/dist/react-apexcharts.min.js",
|
||||||
"file": "react-apexcharts.js",
|
"file": "react-apexcharts.js",
|
||||||
"fileHash": "c6ad3fcf",
|
"fileHash": "5ebc900f",
|
||||||
"needsInterop": true
|
"needsInterop": true
|
||||||
},
|
},
|
||||||
"react": {
|
"react": {
|
||||||
"src": "../../react/index.js",
|
"src": "../../react/index.js",
|
||||||
"file": "react.js",
|
"file": "react.js",
|
||||||
"fileHash": "552f8751",
|
"fileHash": "3ec4beaf",
|
||||||
"needsInterop": true
|
"needsInterop": true
|
||||||
},
|
},
|
||||||
"react-dom": {
|
"react-dom": {
|
||||||
"src": "../../react-dom/index.js",
|
"src": "../../react-dom/index.js",
|
||||||
"file": "react-dom.js",
|
"file": "react-dom.js",
|
||||||
"fileHash": "51ab02f8",
|
"fileHash": "776f11f1",
|
||||||
"needsInterop": true
|
"needsInterop": true
|
||||||
},
|
},
|
||||||
"react/jsx-dev-runtime": {
|
"react/jsx-dev-runtime": {
|
||||||
"src": "../../react/jsx-dev-runtime.js",
|
"src": "../../react/jsx-dev-runtime.js",
|
||||||
"file": "react_jsx-dev-runtime.js",
|
"file": "react_jsx-dev-runtime.js",
|
||||||
"fileHash": "3eac29f9",
|
"fileHash": "a5c138f1",
|
||||||
"needsInterop": true
|
"needsInterop": true
|
||||||
},
|
},
|
||||||
"react/jsx-runtime": {
|
"react/jsx-runtime": {
|
||||||
"src": "../../react/jsx-runtime.js",
|
"src": "../../react/jsx-runtime.js",
|
||||||
"file": "react_jsx-runtime.js",
|
"file": "react_jsx-runtime.js",
|
||||||
"fileHash": "f475eb11",
|
"fileHash": "c6302565",
|
||||||
"needsInterop": true
|
"needsInterop": true
|
||||||
},
|
},
|
||||||
"@heroicons/react/24/outline": {
|
"@heroicons/react/24/outline": {
|
||||||
"src": "../../@heroicons/react/24/outline/esm/index.js",
|
"src": "../../@heroicons/react/24/outline/esm/index.js",
|
||||||
"file": "@heroicons_react_24_outline.js",
|
"file": "@heroicons_react_24_outline.js",
|
||||||
"fileHash": "1384c9cc",
|
"fileHash": "1320aeb7",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"react-dom/client": {
|
"react-dom/client": {
|
||||||
"src": "../../react-dom/client.js",
|
"src": "../../react-dom/client.js",
|
||||||
"file": "react-dom_client.js",
|
"file": "react-dom_client.js",
|
||||||
"fileHash": "7f1e08f7",
|
"fileHash": "ae13241b",
|
||||||
"needsInterop": true
|
"needsInterop": true
|
||||||
},
|
},
|
||||||
"react-helmet-async": {
|
"react-helmet-async": {
|
||||||
"src": "../../react-helmet-async/lib/index.esm.js",
|
"src": "../../react-helmet-async/lib/index.esm.js",
|
||||||
"file": "react-helmet-async.js",
|
"file": "react-helmet-async.js",
|
||||||
"fileHash": "dbe6d36e",
|
"fileHash": "8c92a496",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"react-router": {
|
"react-router": {
|
||||||
"src": "../../react-router/dist/development/index.mjs",
|
"src": "../../react-router/dist/development/index.mjs",
|
||||||
"file": "react-router.js",
|
"file": "react-router.js",
|
||||||
"fileHash": "87eba0c4",
|
"fileHash": "66b9f22f",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"react-router-dom": {
|
"react-router-dom": {
|
||||||
"src": "../../react-router-dom/dist/index.mjs",
|
"src": "../../react-router-dom/dist/index.mjs",
|
||||||
"file": "react-router-dom.js",
|
"file": "react-router-dom.js",
|
||||||
"fileHash": "719445bb",
|
"fileHash": "65d35ce1",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"zustand/middleware": {
|
"zustand/middleware": {
|
||||||
"src": "../../zustand/esm/middleware.mjs",
|
"src": "../../zustand/esm/middleware.mjs",
|
||||||
"file": "zustand_middleware.js",
|
"file": "zustand_middleware.js",
|
||||||
"fileHash": "4c1c6b84",
|
"fileHash": "ac0e4976",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -85,12 +85,9 @@ export default defineConfig(({ mode }) => {
|
|||||||
host: "0.0.0.0", // Allow external connections (for Docker)
|
host: "0.0.0.0", // Allow external connections (for Docker)
|
||||||
port: isMarketingBuild ? 5174 : 5173, // Different port for marketing dev
|
port: isMarketingBuild ? 5174 : 5173, // Different port for marketing dev
|
||||||
strictPort: false, // Allow port fallback if port is busy
|
strictPort: false, // Allow port fallback if port is busy
|
||||||
allowedHosts: [
|
// Disable host check for development (behind reverse proxy)
|
||||||
"app.igny8.com",
|
// This allows any host to connect when behind Caddy
|
||||||
"igny8.com",
|
allowedHosts: true,
|
||||||
"localhost",
|
|
||||||
"127.0.0.1",
|
|
||||||
],
|
|
||||||
watch: {
|
watch: {
|
||||||
usePolling: true, // Needed for file watching in Docker
|
usePolling: true, // Needed for file watching in Docker
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user