I’ve got an app that I’m trying to deploy to a subdirectory in production. Therefore, I have added a scope block that reads:
scope "/sapa" do
This works fine for the main code, but for some reason all assets (as rendered by the assets pipeline) begin with /assets instead of /sapa/assets (i.e. `
Does anyone know why this is happening or how I can fix it? Thanks!
The asset pipeline doesn’t care about the routes. Here‘s how to change the assets path: