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
Hello!
As everyone knows, Quarkus serves static resources (like the index.html) from the META-INF/resources folder. For deployment reasons, i cannot use this folder, and would like to specify a folder from outside of the projects directory where the index.html is being stored/served.
I found this stackoverflow code snippet where i changed the FileSystemAccess to root. Now the index.html itself gets served, but not other other html files which are connected with the index.html, leading to a 404 error.
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
As everyone knows, Quarkus serves static resources (like the index.html) from the META-INF/resources folder. For deployment reasons, i cannot use this folder, and would like to specify a folder from outside of the projects directory where the index.html is being stored/served.
I found this stackoverflow code snippet where i changed the FileSystemAccess to root. Now the index.html itself gets served, but not other other html files which are connected with the index.html, leading to a 404 error.
Is there any workaround for this?
Thanks,
Leo
Beta Was this translation helpful? Give feedback.
All reactions