mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-01 00:58:11 +08:00
remove static route redirects / bump static to top level (#1299)
* add another favicon rule * catch only top-level dataset names * add config flag to disable redirects * remove static redirect, point all links to top-level /static * remove extraneous argument * remove httpd redirect
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
# Configure URL rewriting from /<dataset>/static/* to /static/*
|
||||
files:
|
||||
"/etc/httpd/conf.d/static_rewrite.conf":
|
||||
mode: "000644"
|
||||
owner: root
|
||||
group: root
|
||||
content: |
|
||||
RewriteEngine On
|
||||
RewriteRule "^(.*)/static/(.*)" "/static/$2" [PT]
|
||||
RewriteRule "^/favicon.png" "/static/img/favicon.png" [PT]
|
||||
|
||||
Reference in New Issue
Block a user