Hi everyone,
I’m trying to package profilarr, but this app is such a mess…
There is a lot of harcoded var in the app itself so I had to make a fork profilarr to correct some few problem.
The main problem is that app is composed of 2 differents app:
front-end in nodejs
backend in python
Even with my fork I still got an error:
The page after the app is installed is white because it didn’t pass the SSO. But the problem is that vite.js is creating a SPA.
So after building we only get a dist folder with some static assets and index.html.
I tried some few things in nginx confi but nothing work.
And i don’t really want to use npm dev because it’s not suposed to be run in prod.
I will have to modify backend code also because the app was supposed to be run in docker so /backend url is hardcoded I think.
If anyone can give me some help, here is the PR: here.
And, AFAIR, the python3-venv package is missing from the apt packages to install (in the manifest).
I tried also to install under a path (=error page) and, so, moved it to a dedicated domain: it worked. Internal routes doesn’t seem to work when installed under a path.