Commit f4f53627 authored by jan.koester's avatar jan.koester
Browse files

test

parent 3ef965be
Loading
Loading
Loading
Loading
+1 −1
Changes for src/conf.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ blogi::Config::~Config(){

const std::string blogi::Config::buildurl(const std::string &url) const{
    std::stringstream str;
    if(getprefix().empty())
    if(getprefix().empty() || getprefix() == "/")
        str << '/' << url;
    else
        str << getprefix() << '/' << url;