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

Authored and Committed by Pierre-Yves Chibon 6 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></pingou@pingoured.fr>
    
        
file modified
+4 -2