summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b810d99)
Fixes openwrt/luci##824
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
- var prefix = location.protocol + '//' + location.hostname +
- (location.port ? ':' + location.port : '') +
- location.pathname.split(';')[0] + 'command/';
+ var prefix = location.protocol + '//' + location.host + '<%=url('command')%>/';
var suffix = (args ? '/' + args : '');
var link = prefix + id + suffix;
var suffix = (args ? '/' + args : '');
var link = prefix + id + suffix;