Comments (5)
It looks to be an issue with CORS
You'll want to add your frontend domain to your CORS settings for your Directus project.
https://docs.directus.io/self-hosted/config-options.html#cors
from agency-os.
You are right, however in my docker compose yml env for directus cors enabled is false. would there be a cors config i need to do for the frontend agency os code?
from agency-os.
That's the problem then right. Because you're not allowing Cross Origin Resource Sharing.
Try setting
CORS_ENABLED = true
and
CORS_ORIGIN = yourdomain1.com,yourdomain2.com
from agency-os.
Well, i feel so foolish. I had not realized that I had the CORS_ENABLED to false. Thank you very much for the valuable insight.
from agency-os.
Close
from agency-os.
Related Issues (20)
- pnpm issue not fixed HOT 4
- pnpm build - Memory requirements HOT 2
- pnpm i fails HOT 13
- "[Invoices] Generate Number" flow not working HOT 4
- Get user permissions? HOT 3
- Hydration style mismatch HOT 3
- updates are not automatic HOT 3
- Some errors during in-docker database initial setup HOT 2
- Self-hosted Directus & Nuxt Agency OS issue HOT 4
- Frontend not load HOT 2
- NAV Bar not working fine HOT 4
- directus apply template doesn't work HOT 3
- Auto Selection Based on Current HOT 1
- Images cannot be loaded, files path not found HOT 4
- This module cannot be imported in server runtime || og-image not showing HOT 5
- docker compose on MacOS: "chown: changing ownership of '/var/lib/postgresql/data': Permission denied" HOT 1
- dockerfile support HOT 2
- Extend globals HOT 1
- Pages navigation don't load page content HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agency-os.