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
ass was originally built with subdomain-based reverse proxies which is why there's no domain prefix for any of the paths. If there's more interest I could look into properly supporting path-based reverse proxies, this but I'd recommend using a Caddy rewrite rule (see image below)
Alternatively, a cheap solution I could add would be to pass the domain into the render function if it detects a path in the domain, then automatically choose /css or ${domain}/css accordingly.
Is there an existing Issue for this bug?
Expected behavior
When looking at a file uploaded in the viewer, the css should be 'd under
$domain/css
Actual behavior
it's hardcoded to
/css
Steps to reproduce
domain
in config.json as something likeariash.ar/t
/css
404smy current setup is an apache webserver that hosts ~3 domains, and the
ariash.ar
domain is reverse proxied to caddy. the caddyfile looks like so:and my config.json looks as so:
Logs (optional)
No response
ass version
0.14.2
Deployment
Docker
Operating system
debian 11
Node version
16.14.0
The text was updated successfully, but these errors were encountered: