You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I managed to deploy helm version of AFFiNE, but now I ran into a problem. When I enter the address, it finds the page, but shows just a plain white page. Then I noticed, that page is trying to request scripts from prod.affineassets.com instead of my address.
Did a quick search of this address on github I found these lines
So it looks like AFFiNE is replacing root path by prod.affineassets.com because no env variables were setup. And as far as I can see there is no way to setup these env variables in helm release.
So, is there any workaround for that other than cloning the repo and fixing this issue in source code or helm templates?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi! I managed to deploy helm version of AFFiNE, but now I ran into a problem. When I enter the address, it finds the page, but shows just a plain white page. Then I noticed, that page is trying to request scripts from
prod.affineassets.com
instead of my address.Did a quick search of this address on github I found these lines
AFFiNE/tools/cli/src/webpack/config.ts
Line 85 in 8d602d4
So it looks like AFFiNE is replacing root path by
prod.affineassets.com
because no env variables were setup. And as far as I can see there is no way to setup these env variables in helm release.So, is there any workaround for that other than cloning the repo and fixing this issue in source code or helm templates?
Beta Was this translation helpful? Give feedback.
All reactions