Closed iosonosempreio closed 2 years ago
it does not depends from the project, we have no power on folders or subfolders. It depends on how the project is served and on the configuration of the web server.
Can you provide examples for an appropriate configuration of the server? Most of the projects will be served from subfolders.
L'unica soluzione che mi viene in mente per aiutarvi , in quanto hostarlo in subdirectory non è semplice se non si ha un pò di esperienza con webservices, è far scegliere l'utente al download del progetto la directory in cui sarà hostato specificando il nome, in modo tale che venga aggiunto a tutti i path all'interno dei file e che quindi si "auto configri" per essere hostato in subdirectory.
Potrebbe essere una buona soluzione, inoltre è simile a quanto viene fatto da altri frameworks (esempio Gatsby path prefix).
solved, now the user has to write the subufolder if the site will be hosted in a subfolder. For example if the user will host the site in "/project" he has to type in the dialog /project
Once a project is built, it only works if hosted at the server root. It doesn't work if hosted in subfolder.