Skip to content

Assets Broken in Menu Routes when using /kalastatic/prototype #24

@soniktrooth

Description

@soniktrooth

So I've run into a bit of an issue when it comes to serving the css and js through the menu route I set up.

After running some tests it seems that when trying to access a js or css file that is not inside the /themes folder then Drupal doesn't even boot—I get a server level 404. This isn't the case for html files which we are already successfully serving at kalastatic/*.

So I'm figuring there must be some sort of .htaccess type file that id ensuring a super quick 404 on css/js files that it assumes are never going to be a thing (even though we do, in fact, want it to be a thing). I don't see an .htaccess anywhere so I'm guessing this sort of thing is handled in some other manner for D8 and at that point my eyes start to glaze over.

I'm thinking this is a @RobLoach type issue. @RobLoach do you know what's causing this and if so do you think there's a way around it?

For now I'm considering serving Kalastatic from /themes/kalastatic/* just in order to get it working as a stop gap but any other suggestions would be welcome.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions