Comments (7)
hello @piavgh I can't seem to reproduce this, can you please provide what SPA you tested with?
from esn-frontend-common-libs.
Hi @rezk2ll ,
As Michael confirmed that our SPAs will be deployed on the same domain with the backend API. I think it will not be a problem for us anymore.
The reason behind it is: in some .pug files or .css files, we link to this /images/white-logo.svg using src="/images/white-logo.svg"
or url(...)
, so if the SPA and backend API are on different domains, this request will be 404 not found.
But now they are on the same domain (e.x localhost:8080 or abc.com), when it requests to 'images/white-logo.svg', the backend API can still return the data.
I will close this issue
from esn-frontend-common-libs.
we need this to split the domain, backend and frontend wont be on the same domain
from esn-frontend-common-libs.
https://github.com/OpenPaaS-Suite/esn-frontend-common-libs/search?p=1&q=%2Fimages
from esn-frontend-common-libs.
we need first to migrate static ressources on each SPA
from esn-frontend-common-libs.
We now want to deployed SPAs on different domains that the the backend API
context
TO DO
All assets must be use the SPA name output.
- fix the white-logo.svg problem
- fix the socket.io.js not found
- update outputs images in a /images/ folder ( hashed names to avoid files with the same name replacing each other )
Need to done on each SPA :
- inbox
- mailto
- calendar
- calendar public
- contact
- account
- admin
from esn-frontend-common-libs.
After investigation, we need also to add the tiny logo
and the throbber-amber.svg
like it was done for the white-logo
here : https://github.com/rezk2ll/esn-frontend-contacts/blob/92ac91cf7615ad692a13b581ad802b70f56a6562/webpack.commons.js#L82 and here for the throbber-amber.svg
here : https://github.com/linagora/esn-frontend-calendar-public/pull/32/files?file-filters%5B%5D=.js
- inbox
- mailto
- calendar
- calendar public
- contact
- account
- admin
from esn-frontend-common-libs.
Related Issues (20)
- Update webpack common to be able to proxify each spa locally
- Update old dependences links of openpaas-suite HOT 1
- Update OIDC signinRedirect configuration to remove state params in the url HOT 2
- test
- Use relative path from image
- Integrate OpenPaaS with UPN preprod
- Integrate OpenPaaS with UPN preprod
- Fix unit tests
- Allow base path to be configurable
- $.notify is not a function(calendar SPA)
- resolve path of account avatar
- Be able to configure base href in SPA container
- Forbidden and malformed access_token on UPN preprod
- save locations path in storage to keep participation state
- Application grid cannot load when openpaas.js empty or not provided
- add side menu button to the header
- use JWT instead of ESNTOKEN when authenticating websocket
- remove ESNToken usage from frontend apps
- Fix project build issue due to dependency change
- Upgrade dependencies to Fix project build issue 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 esn-frontend-common-libs.