[web2py] Re: Static files based on authorisation

2020-06-04 Thread James O' Driscoll
Would you have any sample code for your potential solutions? I was thinking about using another controller for the bundle. But how would you do this in practice ie sample code. Additionally I will be implementing code splitting very soon where my bundle will be split into 3-4 smaller bundles.

[web2py] Re: Static files based on authorisation

2020-06-03 Thread Dave S
On Wednesday, June 3, 2020 at 4:13:03 PM UTC-7, James O' Driscoll wrote: > > I am using webpack to create bundles for my app, controller/function > renders a view that’s has a script tag with a src to a bundle in static > folder. > > However I would like only logged in users to be able to