From a8f0c19604a1f7c47cc02c4a056449cc987d40c6 Mon Sep 17 00:00:00 2001 From: Christian Schneemann Date: Tue, 2 Feb 2016 11:34:41 +0100 Subject: [PATCH] [api] fix path to apidocs The 'apidocs_location' lead to /srv/www/docs instead /srv/www/obs/docs, so /apidocs/ was not working. --- src/api/config/environment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/config/environment.rb b/src/api/config/environment.rb index 36d1e6c5152..cc50cf8d18b 100644 --- a/src/api/config/environment.rb +++ b/src/api/config/environment.rb @@ -13,7 +13,7 @@ end CONFIG['schema_location'] ||= File.expand_path("public/schema")+"/" -CONFIG['apidocs_location'] ||= File.expand_path("../../docs/api/html/") +CONFIG['apidocs_location'] ||= File.expand_path("../docs/api/html/") CONFIG['global_write_through'] ||= true CONFIG['proxy_auth_mode'] ||= :off CONFIG['frontend_ldap_mode'] ||= :off