Comments (4)
Hi @Shahor, I am not convinced that the liana overrides the cors configuration of your server.
Maybe it is a configuration issue.
Can you detail how (in which order) you declare your middlewares to give us some insights about what the issue is?
Thanks for your help.
from forest-express.
Hello,
https://github.com/ForestAdmin/forest-express/blob/devel/src/index.js#L115-L119
If I'm not mistaken, this bit of code overrides whatever cors
configuration was already set
from forest-express.
Hi @Shahor,
Can you please πanswer to my previous questions about the order of your middlewares (your own CORS and ForestAdmin init)?
We use our own tool in our express servers and don't observe such issues but we use an undocumented liana initialisation configuration:
Liana.init({
expressParentApp: app, // Express parent app
envSecret: process.env.FOREST_ENV_SECRET,
authSecret: process.env.FOREST_AUTH_SECRET,
sequelize: Sequelize,
connections: [sequelize], // Array of sequelize connections
});
Let me know if it helps
from forest-express.
Hi @Shahor, this is fixed in v5 lianas.
Feel free to reopen this ticket if the issue persists after the upgrade.
π²π²π²
from forest-express.
Related Issues (20)
- How to download remote file from URL in smart action?
- Server events subscription inhibits graceful shutdown HOT 5
- The automated release is failing π¨
- [+] Filters - Fields containing enum subfields are not available as filter on the UI HOT 8
- Small crash in forest-server-requester HOT 1
- forestadmin-schema.json created in the wrong directory HOT 1
- Allow setting 'isSortable' on Schema generated fields not only smart fields HOT 4
- SyntaxError: Cannot use import statement outside a module HOT 3
- Cannot login from FA.com: Cannot read property renderingId of undefined HOT 4
- Upload file through API HOT 1
- The automated release is failing π¨
- Yarn v2 breaks Schema creation HOT 2
- Allow external endpoint on smart action HOT 1
- defaultValue does not work in smart actions
- Intercom: dates are all in 1970 HOT 3
- The existence of a local in-memory cache object prevents Forest from running on clusters HOT 2
- Using a path in APPLICATION_URL fails HOT 1
- Add Fastify support HOT 1
- How to load the collections statically
- redirect_uri always return http://localhost:3310 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 forest-express.