@adaptable-uakari how can you figure the context path in the client?
iâm still getting 404s when i deploy this under a sub-directory path
Bro did you find the solution? If no please can you share me your constants.ts file (/frontend/util/constants.ts)
This needs to be same as sub directory (ex.: export const LOGIN : string = â/my-app/loginâ; ).
But still this means you have to manage logout by yourself and I donât suggest to use this. Also after logout it you want to login again it doesnât work as it should.
@adaptable-uakari @secure-leopard @zen-quetzal please is there a solution for this? I have the same issue and i tried to add this line on application.properties but still it doesnât work:
server.servlet.contextPath=/my-app
server.servlet.context-path=/my-app
@outstanding-llama If you set server.servlet.context-path=/app then you also have to adjust the routes in the frontend
@adaptable-uakari Yes i already did that but it doesnât work well on logout, since hilla manages auth state. Also if i do work around about redirect path after logout, when I login again it redirects for ex: /app/app
I havenât figured out yet how to fix this issue, but i find it quite a problem to manage paths of front-end views like this.
Thank you for your answer, support and contribution to dev world. đ©·
Thank you. Unfortunately Iâm not a Hilla expert. I hope some else can help