0b9b6b7 Prefix the version and error_code API endpoint with -/

Authored and Committed by pingou 5 years ago
    Prefix the version and error_code API endpoint with -/
    
    This way we're sure there will be no conflict with potential project name
    since these names aren't blacklisted.
    We keep the old URL mapping for backward compatibility purposes.
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+4 -2