Show More
@@ -10,8 +10,8 b' Here is a sample configuration file for ' | |||
|
10 | 10 | ServerAlias hg.myserver.com |
|
11 | 11 | |
|
12 | 12 | ## uncomment to serve static files by Apache |
|
13 | ## ProxyPass /_static ! | |
|
14 | ## Alias /_static /path/to/.rccontrol/enterprise-1/static | |
|
13 | ## ProxyPass /_static/rhodecode ! | |
|
14 | ## Alias /_static/rhodecode /path/to/.rccontrol/enterprise-1/static | |
|
15 | 15 | |
|
16 | 16 | <Proxy *> |
|
17 | 17 | Order allow,deny |
@@ -59,7 +59,7 b' Use the following example to configure N' | |||
|
59 | 59 | include /etc/nginx/proxy.conf; |
|
60 | 60 | |
|
61 | 61 | ## uncomment to serve static files by nginx |
|
62 | # location /_static { | |
|
62 | # location /_static/rhodecode { | |
|
63 | 63 | # alias /path/to/.rccontrol/enterprise-1/static; |
|
64 | 64 | # } |
|
65 | 65 |
@@ -318,7 +318,7 b' def includeme_first(config):' | |||
|
318 | 318 | config.add_static_view( |
|
319 | 319 | '_static/deform', 'deform:static') |
|
320 | 320 | config.add_static_view( |
|
321 | '_static', path='rhodecode:public', cache_max_age=3600 * 24) | |
|
321 | '_static/rhodecode', path='rhodecode:public', cache_max_age=3600 * 24) | |
|
322 | 322 | |
|
323 | 323 | def wrap_app_in_wsgi_middlewares(pyramid_app, config): |
|
324 | 324 | """ |
@@ -168,7 +168,7 b' var pyroutes = (function() {' | |||
|
168 | 168 | }; |
|
169 | 169 | return { |
|
170 | 170 | 'asset': function(path, ver) { |
|
171 | var asset_url = ASSET_URL || '/_static/'; | |
|
171 | var asset_url = ASSET_URL || '/_static/rhodecode/'; | |
|
172 | 172 | var ret = asset_url + path; |
|
173 | 173 | if (ver !== undefined) { |
|
174 | 174 | ret += '?ver=' + ver; |
@@ -507,7 +507,7 b'' | |||
|
507 | 507 | <td class="td-radio"><input type="radio" value="repository.admin" |
|
508 | 508 | name="u_perm_1" id="u_perm_1_repositoryadmin"></td> |
|
509 | 509 | <td> |
|
510 | <img class="gravatar" src="/_static/images/user30.png" height="16" width="16"> | |
|
510 | <img class="gravatar" src="/_static/rhodecode/images/user30.png" height="16" width="16"> | |
|
511 | 511 | <span class="user">default</span> |
|
512 | 512 | </td> |
|
513 | 513 | <td></td> |
General Comments 0
You need to be logged in to leave comments.
Login now