Comments (5)
Yes, you now need to mount your config into the backend container( as /home/node/app/dist/src/config/frontend.config.json), the frontend now just needs the API url.
from frontend.
But that means that everyone has to mount in both places, frontend to get the api url and backend to get the file?
from frontend.
Actually no, the initial URL is hardcoded and assumes that FE and BE are serverd on the same domain.
This also means you could in theory server different backends with a singel FE deployment(using hostname based routing).
from frontend.
The fallback is there (only) for proxyless dev setups, where the BE is serverd on a different port. Then you need to serve the config on the FE.
from frontend.
Relooking at this old issue. Is it tru that the only reason to support frontend configuration in the front end at all now is if your api url were non-standard, in which case you'd have to put in the config.json in the front end to pick it up.
from frontend.
Related Issues (20)
- Published Datasets page pagination does not work properly
- User git-based versioning
- License mismatch HOT 1
- E2E tests failing HOT 2
- Update API version HOT 1
- E2E cypress tests need update for BE samples change
- Attach length validator to the search bar
- No schemaless field in proposal class
- Explicit action button for search facets HOT 2
- Fix logo images HOT 1
- Add proposal metadata visualization
- Replace PID condition configuration with two runtime PID filters HOT 3
- OIDC authentication is broken with v3 backend
- New datasets page design HOT 1
- Make middle mouse button open a new tab
- Create image with multi platform supports for AMD and ARM
- Investigate batching thumbnail requests HOT 1
- show thumbnail in detailed dataset view
- Datasets: Pagination broken with new search interface HOT 3
- Cover pagination functionality with cypress tests
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 frontend.