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 , thank you for all the effort behind elysia and elysia-static.
Description
I'm trying to use a SSR plugin and i need theelysia-static plugin only on production. So i will check if i'm in prod or dev mode and i will use a custom plugin that will include elysia-static in the Elysia app (nested app for plugin). When we use the plugin in the main Elysia instance (the instance that acts as server) , the plugin works fine , but when we use it with a nested Elysia app (a plugin Elysia app), the plugin don't work as expected (I get 404).
Below my folder structure.
Usage with the main Elysia instance : OK
Works fine when using the plugin with main Elysia instance. The http://localhost:2000/assets/index-BRPLnx8F.js url returns the file.
Hi , thank you for all the effort behind elysia and elysia-static.
Description
I'm trying to use a SSR plugin and i need the
elysia-static
plugin only on production. So i will check if i'm in prod or dev mode and i will use a custom plugin that will includeelysia-static
in the Elysia app (nested app for plugin). When we use the plugin in the main Elysia instance (the instance that acts as server) , the plugin works fine , but when we use it with a nested Elysia app (a plugin Elysia app), the plugin don't work as expected (I get 404).Below my folder structure.
Usage with the main Elysia instance : OK
Works fine when using the plugin with main Elysia instance. The
http://localhost:2000/assets/index-BRPLnx8F.js
url returns the file.main.js
Usage with Nested plugin : NOK
the
http://localhost:2000/assets/index-BRPLnx8F.js
returnsNOT_FOUND
SSRPlugin.js
main.js
Info
The text was updated successfully, but these errors were encountered: