From 22f0d518cefd080b5a96c09764b244540acec7fd Mon Sep 17 00:00:00 2001 From: kload Date: Wed, 14 May 2014 15:27:34 +0000 Subject: [PATCH] [enh] Fix SSO path --- access.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/access.lua b/access.lua index 8a3a0e5..05b08bc 100644 --- a/access.lua +++ b/access.lua @@ -829,13 +829,13 @@ end if is_logged_in() then if string.match(ngx.var.uri, "^/ynhpanel.js$") then - serve("/ynhsso/assets/js/ynhpanel.js") + serve("/yunohost/sso/assets/js/ynhpanel.js") end if string.match(ngx.var.uri, "^/ynhpanel.css$") then - serve("/ynhsso/assets/css/ynhpanel.css") + serve("/yunohost/sso/assets/css/ynhpanel.css") end if string.match(ngx.var.uri, "^/ynhpanel.json$") then - serve("/ynhsso/assets/js/ynhpanel.json") + serve("/yunohost/sso/assets/js/ynhpanel.json") end if not has_access() then return redirect(portal_url)