diff options
-rw-r--r-- | main.go | 14 | ||||
-rw-r--r-- | static/faq.html | 2 |
2 files changed, 8 insertions, 8 deletions
@@ -531,14 +531,14 @@ func main() { if FingerActor(follow).Id != ""{ MakeActivityRequestOutbox(db, followActivity) } - - var redirect string - if(actor.Name != "main") { - redirect = "/" + actor.Name - } - - http.Redirect(w, r, "/" + *Key + "/" + redirect, http.StatusSeeOther) } + + var redirect string + if(actor.Name != "main") { + redirect = "/" + actor.Name + } + + http.Redirect(w, r, "/" + *Key + "/" + redirect, http.StatusSeeOther) } else if manage && actor.Name != "" { t := template.Must(template.New("").Funcs(template.FuncMap{ "sub": func (i, j int) int { return i - j }}).ParseFiles("./static/main.html", "./static/manage.html")) diff --git a/static/faq.html b/static/faq.html index 08a38f4..9baf8ca 100644 --- a/static/faq.html +++ b/static/faq.html @@ -56,7 +56,7 @@ <p>Soon™.</p> <h4 id="version">What version is this FChannel instance?</h4> - <p>v0.0.10-dev</p> + <p>v0.0.11-dev</p> </div> <div style="width: 500px; margin:0 auto; margin-top: 50px; text-align: center;"> <a href="/">[Home]</a><a href="/static/rules.html">[Rules]</a><a href="/static/faq.html">[FAQ]</a> |